From da6913b52501dac0077813055b3e3119006a3bb9 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Thu, 7 Aug 2025 12:40:53 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for d56db6722cfac34cadaa5c85bc9da0d0f37d3bb3 --- dev/bench/data.js | 650 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 649 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index c48111c..86226b3 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1754405885941, + "lastUpdate": 1754570453411, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -41594,6 +41594,654 @@ window.BENCHMARK_DATA = { "extra": "22372 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": "d56db6722cfac34cadaa5c85bc9da0d0f37d3bb3", + "message": "Merge pull request #115 from ucan-wg/tooling\n\nAdd a somewhat complete toolkit", + "timestamp": "2025-08-07T14:39:42+02:00", + "tree_id": "f449f62784bd610cc9de9a583cf75a76bb4b2e78", + "url": "https://github.com/ucan-wg/go-ucan/commit/d56db6722cfac34cadaa5c85bc9da0d0f37d3bb3" + }, + "date": 1754570452905, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 6202, + "unit": "ns/op\t 21376 B/op\t 44 allocs/op", + "extra": "195940 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 6202, + "unit": "ns/op", + "extra": "195940 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 21376, + "unit": "B/op", + "extra": "195940 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 44, + "unit": "allocs/op", + "extra": "195940 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 1055302, + "unit": "ns/op\t 163717 B/op\t 2995 allocs/op", + "extra": "1101 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 1055302, + "unit": "ns/op", + "extra": "1101 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 163717, + "unit": "B/op", + "extra": "1101 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2995, + "unit": "allocs/op", + "extra": "1101 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 208666, + "unit": "ns/op\t 827774 B/op\t 62 allocs/op", + "extra": "5924 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 208666, + "unit": "ns/op", + "extra": "5924 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 827774, + "unit": "B/op", + "extra": "5924 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 62, + "unit": "allocs/op", + "extra": "5924 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1102004, + "unit": "ns/op\t 207239 B/op\t 3057 allocs/op", + "extra": "1070 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1102004, + "unit": "ns/op", + "extra": "1070 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 207239, + "unit": "B/op", + "extra": "1070 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 3057, + "unit": "allocs/op", + "extra": "1070 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 11005, + "unit": "ns/op\t 25744 B/op\t 46 allocs/op", + "extra": "108586 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 11005, + "unit": "ns/op", + "extra": "108586 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 25744, + "unit": "B/op", + "extra": "108586 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "108586 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 1066406, + "unit": "ns/op\t 165786 B/op\t 2997 allocs/op", + "extra": "1100 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 1066406, + "unit": "ns/op", + "extra": "1100 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 165786, + "unit": "B/op", + "extra": "1100 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2997, + "unit": "allocs/op", + "extra": "1100 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 221506, + "unit": "ns/op\t 832720 B/op\t 65 allocs/op", + "extra": "4896 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 221506, + "unit": "ns/op", + "extra": "4896 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 832720, + "unit": "B/op", + "extra": "4896 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "4896 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1105133, + "unit": "ns/op\t 214081 B/op\t 3056 allocs/op", + "extra": "1056 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1105133, + "unit": "ns/op", + "extra": "1056 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 214081, + "unit": "B/op", + "extra": "1056 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 3056, + "unit": "allocs/op", + "extra": "1056 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 11151, + "unit": "ns/op\t 25744 B/op\t 46 allocs/op", + "extra": "108397 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 11151, + "unit": "ns/op", + "extra": "108397 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 25744, + "unit": "B/op", + "extra": "108397 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "108397 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 1067211, + "unit": "ns/op\t 165787 B/op\t 2997 allocs/op", + "extra": "1108 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 1067211, + "unit": "ns/op", + "extra": "1108 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 165787, + "unit": "B/op", + "extra": "1108 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2997, + "unit": "allocs/op", + "extra": "1108 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 235816, + "unit": "ns/op\t 832719 B/op\t 65 allocs/op", + "extra": "4898 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 235816, + "unit": "ns/op", + "extra": "4898 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 832719, + "unit": "B/op", + "extra": "4898 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "4898 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1125572, + "unit": "ns/op\t 214015 B/op\t 3054 allocs/op", + "extra": "1046 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1125572, + "unit": "ns/op", + "extra": "1046 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 214015, + "unit": "B/op", + "extra": "1046 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 3054, + "unit": "allocs/op", + "extra": "1046 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 42.87, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "28860690 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 42.87, + "unit": "ns/op", + "extra": "28860690 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "28860690 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "28860690 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 23.81, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "49294060 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 23.81, + "unit": "ns/op", + "extra": "49294060 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "49294060 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "49294060 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 36.23, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "31798754 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 36.23, + "unit": "ns/op", + "extra": "31798754 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "31798754 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "31798754 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 75.47, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "15660866 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 75.47, + "unit": "ns/op", + "extra": "15660866 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "15660866 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "15660866 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1854, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "636758 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1854, + "unit": "ns/op", + "extra": "636758 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "636758 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "636758 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14012, + "unit": "ns/op\t 14475 B/op\t 147 allocs/op", + "extra": "84826 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14012, + "unit": "ns/op", + "extra": "84826 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14475, + "unit": "B/op", + "extra": "84826 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 147, + "unit": "allocs/op", + "extra": "84826 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 119092, + "unit": "ns/op\t 17748 B/op\t 423 allocs/op", + "extra": "9613 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 119092, + "unit": "ns/op", + "extra": "9613 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 17748, + "unit": "B/op", + "extra": "9613 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 423, + "unit": "allocs/op", + "extra": "9613 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 49240, + "unit": "ns/op\t 9002 B/op\t 180 allocs/op", + "extra": "24830 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 49240, + "unit": "ns/op", + "extra": "24830 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9002, + "unit": "B/op", + "extra": "24830 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 180, + "unit": "allocs/op", + "extra": "24830 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 108149, + "unit": "ns/op\t 16804 B/op\t 354 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 108149, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 16804, + "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": 53180, + "unit": "ns/op\t 14531 B/op\t 220 allocs/op", + "extra": "22626 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 53180, + "unit": "ns/op", + "extra": "22626 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 14531, + "unit": "B/op", + "extra": "22626 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 220, + "unit": "allocs/op", + "extra": "22626 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 120156, + "unit": "ns/op\t 17700 B/op\t 422 allocs/op", + "extra": "9452 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 120156, + "unit": "ns/op", + "extra": "9452 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 17700, + "unit": "B/op", + "extra": "9452 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 422, + "unit": "allocs/op", + "extra": "9452 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 50141, + "unit": "ns/op\t 8521 B/op\t 211 allocs/op", + "extra": "23229 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 50141, + "unit": "ns/op", + "extra": "23229 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 8521, + "unit": "B/op", + "extra": "23229 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 211, + "unit": "allocs/op", + "extra": "23229 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 109371, + "unit": "ns/op\t 16804 B/op\t 354 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 109371, + "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": 52388, + "unit": "ns/op\t 12498 B/op\t 214 allocs/op", + "extra": "22917 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 52388, + "unit": "ns/op", + "extra": "22917 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 12498, + "unit": "B/op", + "extra": "22917 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "22917 times\n4 procs" + } + ] } ] }