diff --git a/dev/bench/data.js b/dev/bench/data.js index e8203a5..1f03257 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1740396388418, + "lastUpdate": 1740664774783, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -37706,6 +37706,654 @@ window.BENCHMARK_DATA = { "extra": "20996 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": "14a57d7391df525b134cdbb31ee6fd48a8b9072c", + "message": "Merge pull request #109 from ucan-wg/downgrade-libp2p\n\ndeps: downgrade libp2p", + "timestamp": "2025-02-27T14:58:17+01:00", + "tree_id": "694404b749ffd1fcf07075337b7202d23bf01a4b", + "url": "https://github.com/ucan-wg/go-ucan/commit/14a57d7391df525b134cdbb31ee6fd48a8b9072c" + }, + "date": 1740664774338, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 6423, + "unit": "ns/op\t 21056 B/op\t 44 allocs/op", + "extra": "187075 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 6423, + "unit": "ns/op", + "extra": "187075 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 21056, + "unit": "B/op", + "extra": "187075 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 44, + "unit": "allocs/op", + "extra": "187075 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 951666, + "unit": "ns/op\t 137182 B/op\t 2385 allocs/op", + "extra": "1227 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 951666, + "unit": "ns/op", + "extra": "1227 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 137182, + "unit": "B/op", + "extra": "1227 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2385, + "unit": "allocs/op", + "extra": "1227 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 219986, + "unit": "ns/op\t 827456 B/op\t 62 allocs/op", + "extra": "5596 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 219986, + "unit": "ns/op", + "extra": "5596 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 827456, + "unit": "B/op", + "extra": "5596 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 62, + "unit": "allocs/op", + "extra": "5596 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1006969, + "unit": "ns/op\t 181523 B/op\t 2445 allocs/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1006969, + "unit": "ns/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 181523, + "unit": "B/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 2445, + "unit": "allocs/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 10690, + "unit": "ns/op\t 25424 B/op\t 46 allocs/op", + "extra": "111535 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 10690, + "unit": "ns/op", + "extra": "111535 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 25424, + "unit": "B/op", + "extra": "111535 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "111535 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 969739, + "unit": "ns/op\t 139247 B/op\t 2387 allocs/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 969739, + "unit": "ns/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 139247, + "unit": "B/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2387, + "unit": "allocs/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 244426, + "unit": "ns/op\t 832401 B/op\t 65 allocs/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 244426, + "unit": "ns/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 832401, + "unit": "B/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1025718, + "unit": "ns/op\t 187522 B/op\t 2445 allocs/op", + "extra": "1183 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1025718, + "unit": "ns/op", + "extra": "1183 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 187522, + "unit": "B/op", + "extra": "1183 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 2445, + "unit": "allocs/op", + "extra": "1183 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 10582, + "unit": "ns/op\t 25424 B/op\t 46 allocs/op", + "extra": "113125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 10582, + "unit": "ns/op", + "extra": "113125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 25424, + "unit": "B/op", + "extra": "113125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "113125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 957237, + "unit": "ns/op\t 139249 B/op\t 2387 allocs/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 957237, + "unit": "ns/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 139249, + "unit": "B/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2387, + "unit": "allocs/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 240085, + "unit": "ns/op\t 832401 B/op\t 65 allocs/op", + "extra": "5074 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 240085, + "unit": "ns/op", + "extra": "5074 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 832401, + "unit": "B/op", + "extra": "5074 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "5074 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1007880, + "unit": "ns/op\t 187522 B/op\t 2445 allocs/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1007880, + "unit": "ns/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 187522, + "unit": "B/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 2445, + "unit": "allocs/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 56.04, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21327698 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 56.04, + "unit": "ns/op", + "extra": "21327698 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "21327698 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "21327698 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 24.48, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "47093312 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 24.48, + "unit": "ns/op", + "extra": "47093312 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "47093312 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "47093312 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 37.36, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "31220892 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 37.36, + "unit": "ns/op", + "extra": "31220892 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "31220892 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "31220892 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 76.51, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "14537251 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 76.51, + "unit": "ns/op", + "extra": "14537251 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "14537251 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "14537251 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1853, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "612430 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1853, + "unit": "ns/op", + "extra": "612430 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "612430 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "612430 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 13881, + "unit": "ns/op\t 14475 B/op\t 147 allocs/op", + "extra": "84109 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 13881, + "unit": "ns/op", + "extra": "84109 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14475, + "unit": "B/op", + "extra": "84109 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 147, + "unit": "allocs/op", + "extra": "84109 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 110286, + "unit": "ns/op\t 15142 B/op\t 362 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 110286, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15142, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 362, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 52202, + "unit": "ns/op\t 9528 B/op\t 186 allocs/op", + "extra": "22851 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 52202, + "unit": "ns/op", + "extra": "22851 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9528, + "unit": "B/op", + "extra": "22851 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 186, + "unit": "allocs/op", + "extra": "22851 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 97613, + "unit": "ns/op\t 14197 B/op\t 293 allocs/op", + "extra": "12231 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 97613, + "unit": "ns/op", + "extra": "12231 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14197, + "unit": "B/op", + "extra": "12231 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 293, + "unit": "allocs/op", + "extra": "12231 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 58827, + "unit": "ns/op\t 15040 B/op\t 226 allocs/op", + "extra": "20518 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 58827, + "unit": "ns/op", + "extra": "20518 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15040, + "unit": "B/op", + "extra": "20518 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 226, + "unit": "allocs/op", + "extra": "20518 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 111453, + "unit": "ns/op\t 15094 B/op\t 361 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 111453, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15094, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 361, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 53555, + "unit": "ns/op\t 9048 B/op\t 217 allocs/op", + "extra": "22143 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 53555, + "unit": "ns/op", + "extra": "22143 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9048, + "unit": "B/op", + "extra": "22143 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 217, + "unit": "allocs/op", + "extra": "22143 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 98696, + "unit": "ns/op\t 14197 B/op\t 293 allocs/op", + "extra": "12186 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 98696, + "unit": "ns/op", + "extra": "12186 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14197, + "unit": "B/op", + "extra": "12186 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 293, + "unit": "allocs/op", + "extra": "12186 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 56431, + "unit": "ns/op\t 13008 B/op\t 220 allocs/op", + "extra": "21199 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 56431, + "unit": "ns/op", + "extra": "21199 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13008, + "unit": "B/op", + "extra": "21199 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 220, + "unit": "allocs/op", + "extra": "21199 times\n4 procs" + } + ] } ] }