diff --git a/dev/bench/data.js b/dev/bench/data.js index 92dac72..42efcf1 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1734017829698, + "lastUpdate": 1736425919066, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -28634,6 +28634,654 @@ window.BENCHMARK_DATA = { "extra": "20096 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "batolettre@gmail.com", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "b7ddead7c881da69ac8064588fc33dc46c9abc40", + "message": "Merge pull request #96 from ucan-wg/container-spec\n\ncontainer: add a specification", + "timestamp": "2025-01-09T13:30:48+01:00", + "tree_id": "0db0ca387e1b3e138906b4fef63c863379b3616f", + "url": "https://github.com/ucan-wg/go-ucan/commit/b7ddead7c881da69ac8064588fc33dc46c9abc40" + }, + "date": 1736425918610, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 5220, + "unit": "ns/op\t 16896 B/op\t 34 allocs/op", + "extra": "224472 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 5220, + "unit": "ns/op", + "extra": "224472 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 16896, + "unit": "B/op", + "extra": "224472 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 34, + "unit": "allocs/op", + "extra": "224472 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 968898, + "unit": "ns/op\t 138459 B/op\t 2593 allocs/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 968898, + "unit": "ns/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 138459, + "unit": "B/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2593, + "unit": "allocs/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 193239, + "unit": "ns/op\t 823281 B/op\t 52 allocs/op", + "extra": "5864 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 193239, + "unit": "ns/op", + "extra": "5864 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 823281, + "unit": "B/op", + "extra": "5864 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 52, + "unit": "allocs/op", + "extra": "5864 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1041547, + "unit": "ns/op\t 182507 B/op\t 2648 allocs/op", + "extra": "1195 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1041547, + "unit": "ns/op", + "extra": "1195 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 182507, + "unit": "B/op", + "extra": "1195 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 2648, + "unit": "allocs/op", + "extra": "1195 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 9690, + "unit": "ns/op\t 21264 B/op\t 36 allocs/op", + "extra": "122176 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 9690, + "unit": "ns/op", + "extra": "122176 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 21264, + "unit": "B/op", + "extra": "122176 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 36, + "unit": "allocs/op", + "extra": "122176 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 986885, + "unit": "ns/op\t 140529 B/op\t 2595 allocs/op", + "extra": "1184 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 986885, + "unit": "ns/op", + "extra": "1184 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 140529, + "unit": "B/op", + "extra": "1184 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2595, + "unit": "allocs/op", + "extra": "1184 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 221285, + "unit": "ns/op\t 828226 B/op\t 55 allocs/op", + "extra": "5312 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 221285, + "unit": "ns/op", + "extra": "5312 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 828226, + "unit": "B/op", + "extra": "5312 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 55, + "unit": "allocs/op", + "extra": "5312 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1023581, + "unit": "ns/op\t 189056 B/op\t 2657 allocs/op", + "extra": "1161 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1023581, + "unit": "ns/op", + "extra": "1161 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 189056, + "unit": "B/op", + "extra": "1161 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 2657, + "unit": "allocs/op", + "extra": "1161 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 9680, + "unit": "ns/op\t 21264 B/op\t 36 allocs/op", + "extra": "124225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 9680, + "unit": "ns/op", + "extra": "124225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 21264, + "unit": "B/op", + "extra": "124225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 36, + "unit": "allocs/op", + "extra": "124225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 974874, + "unit": "ns/op\t 140525 B/op\t 2595 allocs/op", + "extra": "1215 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 974874, + "unit": "ns/op", + "extra": "1215 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 140525, + "unit": "B/op", + "extra": "1215 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2595, + "unit": "allocs/op", + "extra": "1215 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 232192, + "unit": "ns/op\t 828226 B/op\t 55 allocs/op", + "extra": "4867 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 232192, + "unit": "ns/op", + "extra": "4867 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 828226, + "unit": "B/op", + "extra": "4867 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 55, + "unit": "allocs/op", + "extra": "4867 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1036389, + "unit": "ns/op\t 188046 B/op\t 2656 allocs/op", + "extra": "1159 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1036389, + "unit": "ns/op", + "extra": "1159 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 188046, + "unit": "B/op", + "extra": "1159 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 2656, + "unit": "allocs/op", + "extra": "1159 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 50.98, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23673882 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 50.98, + "unit": "ns/op", + "extra": "23673882 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "23673882 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "23673882 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 24.23, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "47547073 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 24.23, + "unit": "ns/op", + "extra": "47547073 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "47547073 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "47547073 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 43.16, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "27214452 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 43.16, + "unit": "ns/op", + "extra": "27214452 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "27214452 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "27214452 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 89.43, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13188470 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 89.43, + "unit": "ns/op", + "extra": "13188470 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13188470 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13188470 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1997, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "559654 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1997, + "unit": "ns/op", + "extra": "559654 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "559654 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "559654 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 15161, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "78384 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 15161, + "unit": "ns/op", + "extra": "78384 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "78384 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "78384 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 114692, + "unit": "ns/op\t 15318 B/op\t 383 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 114692, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15318, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 383, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 53658, + "unit": "ns/op\t 9752 B/op\t 214 allocs/op", + "extra": "22468 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 53658, + "unit": "ns/op", + "extra": "22468 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9752, + "unit": "B/op", + "extra": "22468 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "22468 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 102618, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 102618, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14373, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 58527, + "unit": "ns/op\t 15264 B/op\t 254 allocs/op", + "extra": "19677 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 58527, + "unit": "ns/op", + "extra": "19677 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15264, + "unit": "B/op", + "extra": "19677 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 254, + "unit": "allocs/op", + "extra": "19677 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 111300, + "unit": "ns/op\t 15269 B/op\t 382 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 111300, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15269, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 382, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 55221, + "unit": "ns/op\t 9272 B/op\t 245 allocs/op", + "extra": "21744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 55221, + "unit": "ns/op", + "extra": "21744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9272, + "unit": "B/op", + "extra": "21744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 245, + "unit": "allocs/op", + "extra": "21744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 100014, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 100014, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14373, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 58208, + "unit": "ns/op\t 13232 B/op\t 248 allocs/op", + "extra": "20715 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 58208, + "unit": "ns/op", + "extra": "20715 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13232, + "unit": "B/op", + "extra": "20715 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20715 times\n4 procs" + } + ] } ] }