From c275b20882b454319d87aca6950580ec18365d52 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 3 Dec 2025 16:05:01 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 4b99c9f1df049c63f665b68ba520cd7847a0d0bd --- 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 6842ee3..0a2fb51 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1764765247525, + "lastUpdate": 1764777901232, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -43538,6 +43538,654 @@ window.BENCHMARK_DATA = { "extra": "23773 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": "4b99c9f1df049c63f665b68ba520cd7847a0d0bd", + "message": "Merge pull request #118 from alanshaw/ash/fix/sort-tokens\n\nfix: sort tokens", + "timestamp": "2025-12-03T17:04:04+01:00", + "tree_id": "66eb2ce9db6f7cb8c5a2828506c36d3f564bf21d", + "url": "https://github.com/ucan-wg/go-ucan/commit/4b99c9f1df049c63f665b68ba520cd7847a0d0bd" + }, + "date": 1764777900676, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 6918, + "unit": "ns/op\t 21616 B/op\t 45 allocs/op", + "extra": "183256 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 6918, + "unit": "ns/op", + "extra": "183256 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 21616, + "unit": "B/op", + "extra": "183256 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 45, + "unit": "allocs/op", + "extra": "183256 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 1007092, + "unit": "ns/op\t 161955 B/op\t 2935 allocs/op", + "extra": "1035 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 1007092, + "unit": "ns/op", + "extra": "1035 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 161955, + "unit": "B/op", + "extra": "1035 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2935, + "unit": "allocs/op", + "extra": "1035 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 183117, + "unit": "ns/op\t 828000 B/op\t 63 allocs/op", + "extra": "5553 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 183117, + "unit": "ns/op", + "extra": "5553 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 828000, + "unit": "B/op", + "extra": "5553 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 63, + "unit": "allocs/op", + "extra": "5553 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1055955, + "unit": "ns/op\t 205696 B/op\t 2984 allocs/op", + "extra": "1117 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1055955, + "unit": "ns/op", + "extra": "1117 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 205696, + "unit": "B/op", + "extra": "1117 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 2984, + "unit": "allocs/op", + "extra": "1117 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 11071, + "unit": "ns/op\t 25984 B/op\t 47 allocs/op", + "extra": "108034 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 11071, + "unit": "ns/op", + "extra": "108034 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 25984, + "unit": "B/op", + "extra": "108034 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 47, + "unit": "allocs/op", + "extra": "108034 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 1010889, + "unit": "ns/op\t 164020 B/op\t 2937 allocs/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 1010889, + "unit": "ns/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 164020, + "unit": "B/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2937, + "unit": "allocs/op", + "extra": "1170 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 195802, + "unit": "ns/op\t 832944 B/op\t 66 allocs/op", + "extra": "5295 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 195802, + "unit": "ns/op", + "extra": "5295 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 832944, + "unit": "B/op", + "extra": "5295 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 66, + "unit": "allocs/op", + "extra": "5295 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1059060, + "unit": "ns/op\t 212339 B/op\t 2996 allocs/op", + "extra": "1125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1059060, + "unit": "ns/op", + "extra": "1125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 212339, + "unit": "B/op", + "extra": "1125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 2996, + "unit": "allocs/op", + "extra": "1125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 11033, + "unit": "ns/op\t 25984 B/op\t 47 allocs/op", + "extra": "107968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 11033, + "unit": "ns/op", + "extra": "107968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 25984, + "unit": "B/op", + "extra": "107968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 47, + "unit": "allocs/op", + "extra": "107968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 1012111, + "unit": "ns/op\t 164017 B/op\t 2937 allocs/op", + "extra": "1155 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 1012111, + "unit": "ns/op", + "extra": "1155 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 164017, + "unit": "B/op", + "extra": "1155 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2937, + "unit": "allocs/op", + "extra": "1155 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 199947, + "unit": "ns/op\t 832945 B/op\t 66 allocs/op", + "extra": "5485 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 199947, + "unit": "ns/op", + "extra": "5485 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 832945, + "unit": "B/op", + "extra": "5485 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 66, + "unit": "allocs/op", + "extra": "5485 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1069482, + "unit": "ns/op\t 212248 B/op\t 2993 allocs/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1069482, + "unit": "ns/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 212248, + "unit": "B/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 2993, + "unit": "allocs/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 45.16, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "27989942 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 45.16, + "unit": "ns/op", + "extra": "27989942 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "27989942 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "27989942 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 23.95, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "48573962 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 23.95, + "unit": "ns/op", + "extra": "48573962 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "48573962 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "48573962 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 35.63, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "32079454 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 35.63, + "unit": "ns/op", + "extra": "32079454 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "32079454 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "32079454 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 74.65, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "15980425 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 74.65, + "unit": "ns/op", + "extra": "15980425 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "15980425 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "15980425 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1914, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "594700 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1914, + "unit": "ns/op", + "extra": "594700 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "594700 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "594700 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14006, + "unit": "ns/op\t 14475 B/op\t 147 allocs/op", + "extra": "84986 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14006, + "unit": "ns/op", + "extra": "84986 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14475, + "unit": "B/op", + "extra": "84986 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 147, + "unit": "allocs/op", + "extra": "84986 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 115678, + "unit": "ns/op\t 17572 B/op\t 417 allocs/op", + "extra": "9930 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 115678, + "unit": "ns/op", + "extra": "9930 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 17572, + "unit": "B/op", + "extra": "9930 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 417, + "unit": "allocs/op", + "extra": "9930 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 47299, + "unit": "ns/op\t 9002 B/op\t 180 allocs/op", + "extra": "25354 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 47299, + "unit": "ns/op", + "extra": "25354 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9002, + "unit": "B/op", + "extra": "25354 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 180, + "unit": "allocs/op", + "extra": "25354 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 104613, + "unit": "ns/op\t 16627 B/op\t 348 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 104613, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 16627, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 348, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 52529, + "unit": "ns/op\t 14515 B/op\t 219 allocs/op", + "extra": "22674 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 52529, + "unit": "ns/op", + "extra": "22674 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 14515, + "unit": "B/op", + "extra": "22674 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 219, + "unit": "allocs/op", + "extra": "22674 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 114984, + "unit": "ns/op\t 17523 B/op\t 416 allocs/op", + "extra": "9927 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 114984, + "unit": "ns/op", + "extra": "9927 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 17523, + "unit": "B/op", + "extra": "9927 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 416, + "unit": "allocs/op", + "extra": "9927 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 48574, + "unit": "ns/op\t 8522 B/op\t 211 allocs/op", + "extra": "24619 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 48574, + "unit": "ns/op", + "extra": "24619 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 8522, + "unit": "B/op", + "extra": "24619 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 211, + "unit": "allocs/op", + "extra": "24619 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 112216, + "unit": "ns/op\t 16627 B/op\t 348 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 112216, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 16627, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 348, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 51934, + "unit": "ns/op\t 12482 B/op\t 213 allocs/op", + "extra": "22947 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 51934, + "unit": "ns/op", + "extra": "22947 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 12482, + "unit": "B/op", + "extra": "22947 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 213, + "unit": "allocs/op", + "extra": "22947 times\n4 procs" + } + ] } ] }