diff --git a/dev/bench/data.js b/dev/bench/data.js index 4d856f3..c48111c 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1741713687359, + "lastUpdate": 1754405885941, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -40946,6 +40946,654 @@ window.BENCHMARK_DATA = { "extra": "20966 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": "3ec8f56412a70f85a8e83510ea45119602cd9519", + "message": "Merge pull request #114 from ucan-wg/varsig-did\n\n Integrate go-varsig and go-did-it", + "timestamp": "2025-08-05T16:56:51+02:00", + "tree_id": "5834d7b616dddb4c549a842c0167704b9b1d18da", + "url": "https://github.com/ucan-wg/go-ucan/commit/3ec8f56412a70f85a8e83510ea45119602cd9519" + }, + "date": 1754405884857, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 6381, + "unit": "ns/op\t 21376 B/op\t 44 allocs/op", + "extra": "180422 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 6381, + "unit": "ns/op", + "extra": "180422 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 21376, + "unit": "B/op", + "extra": "180422 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 44, + "unit": "allocs/op", + "extra": "180422 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 1067109, + "unit": "ns/op\t 163721 B/op\t 2995 allocs/op", + "extra": "1107 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 1067109, + "unit": "ns/op", + "extra": "1107 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 163721, + "unit": "B/op", + "extra": "1107 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2995, + "unit": "allocs/op", + "extra": "1107 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 210278, + "unit": "ns/op\t 827774 B/op\t 62 allocs/op", + "extra": "4939 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 210278, + "unit": "ns/op", + "extra": "4939 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 827774, + "unit": "B/op", + "extra": "4939 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 62, + "unit": "allocs/op", + "extra": "4939 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1135507, + "unit": "ns/op\t 207044 B/op\t 3053 allocs/op", + "extra": "1057 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1135507, + "unit": "ns/op", + "extra": "1057 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 207044, + "unit": "B/op", + "extra": "1057 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 3053, + "unit": "allocs/op", + "extra": "1057 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 11093, + "unit": "ns/op\t 25744 B/op\t 46 allocs/op", + "extra": "107482 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 11093, + "unit": "ns/op", + "extra": "107482 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 25744, + "unit": "B/op", + "extra": "107482 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "107482 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 1091877, + "unit": "ns/op\t 165794 B/op\t 2997 allocs/op", + "extra": "1082 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 1091877, + "unit": "ns/op", + "extra": "1082 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 165794, + "unit": "B/op", + "extra": "1082 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2997, + "unit": "allocs/op", + "extra": "1082 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 234758, + "unit": "ns/op\t 832720 B/op\t 65 allocs/op", + "extra": "4594 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 234758, + "unit": "ns/op", + "extra": "4594 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 832720, + "unit": "B/op", + "extra": "4594 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "4594 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1137564, + "unit": "ns/op\t 214173 B/op\t 3059 allocs/op", + "extra": "1047 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1137564, + "unit": "ns/op", + "extra": "1047 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 214173, + "unit": "B/op", + "extra": "1047 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 3059, + "unit": "allocs/op", + "extra": "1047 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 10960, + "unit": "ns/op\t 25744 B/op\t 46 allocs/op", + "extra": "108976 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 10960, + "unit": "ns/op", + "extra": "108976 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 25744, + "unit": "B/op", + "extra": "108976 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "108976 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 1092039, + "unit": "ns/op\t 165794 B/op\t 2997 allocs/op", + "extra": "1089 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 1092039, + "unit": "ns/op", + "extra": "1089 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 165794, + "unit": "B/op", + "extra": "1089 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2997, + "unit": "allocs/op", + "extra": "1089 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 233739, + "unit": "ns/op\t 832720 B/op\t 65 allocs/op", + "extra": "4657 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 233739, + "unit": "ns/op", + "extra": "4657 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 832720, + "unit": "B/op", + "extra": "4657 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "4657 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1138394, + "unit": "ns/op\t 213273 B/op\t 3055 allocs/op", + "extra": "1041 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1138394, + "unit": "ns/op", + "extra": "1041 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 213273, + "unit": "B/op", + "extra": "1041 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 3055, + "unit": "allocs/op", + "extra": "1041 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 42.12, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "28815184 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 42.12, + "unit": "ns/op", + "extra": "28815184 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "28815184 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "28815184 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 24.2, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "49293073 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 24.2, + "unit": "ns/op", + "extra": "49293073 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "49293073 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "49293073 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 36.47, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "32641050 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 36.47, + "unit": "ns/op", + "extra": "32641050 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "32641050 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "32641050 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 75.28, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "15728659 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 75.28, + "unit": "ns/op", + "extra": "15728659 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "15728659 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "15728659 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1824, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "592758 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1824, + "unit": "ns/op", + "extra": "592758 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "592758 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "592758 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14347, + "unit": "ns/op\t 14475 B/op\t 147 allocs/op", + "extra": "81483 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14347, + "unit": "ns/op", + "extra": "81483 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14475, + "unit": "B/op", + "extra": "81483 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 147, + "unit": "allocs/op", + "extra": "81483 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 122918, + "unit": "ns/op\t 17748 B/op\t 423 allocs/op", + "extra": "9326 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 122918, + "unit": "ns/op", + "extra": "9326 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 17748, + "unit": "B/op", + "extra": "9326 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 423, + "unit": "allocs/op", + "extra": "9326 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 50996, + "unit": "ns/op\t 9002 B/op\t 180 allocs/op", + "extra": "24220 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 50996, + "unit": "ns/op", + "extra": "24220 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9002, + "unit": "B/op", + "extra": "24220 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 180, + "unit": "allocs/op", + "extra": "24220 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 109962, + "unit": "ns/op\t 16803 B/op\t 354 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 109962, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 16803, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 354, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 55333, + "unit": "ns/op\t 14531 B/op\t 220 allocs/op", + "extra": "21799 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 55333, + "unit": "ns/op", + "extra": "21799 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 14531, + "unit": "B/op", + "extra": "21799 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 220, + "unit": "allocs/op", + "extra": "21799 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 120759, + "unit": "ns/op\t 17700 B/op\t 422 allocs/op", + "extra": "9656 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 120759, + "unit": "ns/op", + "extra": "9656 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 17700, + "unit": "B/op", + "extra": "9656 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 422, + "unit": "allocs/op", + "extra": "9656 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 50543, + "unit": "ns/op\t 8522 B/op\t 211 allocs/op", + "extra": "23612 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 50543, + "unit": "ns/op", + "extra": "23612 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 8522, + "unit": "B/op", + "extra": "23612 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 211, + "unit": "allocs/op", + "extra": "23612 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 110637, + "unit": "ns/op\t 16804 B/op\t 354 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 110637, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 16804, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 354, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 53711, + "unit": "ns/op\t 12498 B/op\t 214 allocs/op", + "extra": "22372 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 53711, + "unit": "ns/op", + "extra": "22372 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 12498, + "unit": "B/op", + "extra": "22372 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "22372 times\n4 procs" + } + ] } ] }