From 043fa50f08ee1f43f1b70546fe11dd899743dbe4 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Thu, 27 Feb 2025 13:59:43 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for a54d66afe5ce2b279219e35d67e3f9a790b1bbca --- 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 1f03257..23cf3da 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1740664774783, + "lastUpdate": 1740664783094, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -38354,6 +38354,654 @@ window.BENCHMARK_DATA = { "extra": "21199 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": "a54d66afe5ce2b279219e35d67e3f9a790b1bbca", + "message": "Merge pull request #110 from ucan-wg/cleanups\n\nminor cleanups", + "timestamp": "2025-02-27T14:58:24+01:00", + "tree_id": "f66d2865155df5ab32943b798a11ab19d4d5a48e", + "url": "https://github.com/ucan-wg/go-ucan/commit/a54d66afe5ce2b279219e35d67e3f9a790b1bbca" + }, + "date": 1740664782455, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 6331, + "unit": "ns/op\t 21056 B/op\t 44 allocs/op", + "extra": "191788 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 6331, + "unit": "ns/op", + "extra": "191788 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 21056, + "unit": "B/op", + "extra": "191788 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 44, + "unit": "allocs/op", + "extra": "191788 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 944226, + "unit": "ns/op\t 137182 B/op\t 2385 allocs/op", + "extra": "1252 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 944226, + "unit": "ns/op", + "extra": "1252 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 137182, + "unit": "B/op", + "extra": "1252 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2385, + "unit": "allocs/op", + "extra": "1252 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 217252, + "unit": "ns/op\t 827456 B/op\t 62 allocs/op", + "extra": "5250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 217252, + "unit": "ns/op", + "extra": "5250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 827456, + "unit": "B/op", + "extra": "5250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 62, + "unit": "allocs/op", + "extra": "5250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1022941, + "unit": "ns/op\t 181325 B/op\t 2443 allocs/op", + "extra": "1189 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1022941, + "unit": "ns/op", + "extra": "1189 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 181325, + "unit": "B/op", + "extra": "1189 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 2443, + "unit": "allocs/op", + "extra": "1189 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 10645, + "unit": "ns/op\t 25424 B/op\t 46 allocs/op", + "extra": "112219 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 10645, + "unit": "ns/op", + "extra": "112219 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 25424, + "unit": "B/op", + "extra": "112219 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "112219 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 989751, + "unit": "ns/op\t 139249 B/op\t 2387 allocs/op", + "extra": "1017 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 989751, + "unit": "ns/op", + "extra": "1017 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 139249, + "unit": "B/op", + "extra": "1017 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2387, + "unit": "allocs/op", + "extra": "1017 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 237050, + "unit": "ns/op\t 832402 B/op\t 65 allocs/op", + "extra": "5086 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 237050, + "unit": "ns/op", + "extra": "5086 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 832402, + "unit": "B/op", + "extra": "5086 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "5086 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1002730, + "unit": "ns/op\t 186756 B/op\t 2447 allocs/op", + "extra": "1186 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1002730, + "unit": "ns/op", + "extra": "1186 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 186756, + "unit": "B/op", + "extra": "1186 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 2447, + "unit": "allocs/op", + "extra": "1186 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 10942, + "unit": "ns/op\t 25424 B/op\t 46 allocs/op", + "extra": "112509 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 10942, + "unit": "ns/op", + "extra": "112509 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 25424, + "unit": "B/op", + "extra": "112509 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "112509 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 978339, + "unit": "ns/op\t 139251 B/op\t 2387 allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 978339, + "unit": "ns/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 139251, + "unit": "B/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2387, + "unit": "allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 243658, + "unit": "ns/op\t 832401 B/op\t 65 allocs/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 243658, + "unit": "ns/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 832401, + "unit": "B/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "5140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1002759, + "unit": "ns/op\t 187521 B/op\t 2445 allocs/op", + "extra": "1140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1002759, + "unit": "ns/op", + "extra": "1140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 187521, + "unit": "B/op", + "extra": "1140 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 2445, + "unit": "allocs/op", + "extra": "1140 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 56.49, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21496150 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 56.49, + "unit": "ns/op", + "extra": "21496150 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "21496150 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "21496150 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 24.63, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "48331394 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 24.63, + "unit": "ns/op", + "extra": "48331394 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "48331394 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "48331394 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 36.87, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "31701074 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 36.87, + "unit": "ns/op", + "extra": "31701074 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "31701074 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "31701074 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 76.07, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "15610056 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 76.07, + "unit": "ns/op", + "extra": "15610056 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "15610056 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "15610056 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1863, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "585229 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1863, + "unit": "ns/op", + "extra": "585229 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "585229 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "585229 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 13846, + "unit": "ns/op\t 14475 B/op\t 147 allocs/op", + "extra": "84409 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 13846, + "unit": "ns/op", + "extra": "84409 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14475, + "unit": "B/op", + "extra": "84409 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 147, + "unit": "allocs/op", + "extra": "84409 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 110587, + "unit": "ns/op\t 15142 B/op\t 362 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 110587, + "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": 55127, + "unit": "ns/op\t 9528 B/op\t 186 allocs/op", + "extra": "22916 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 55127, + "unit": "ns/op", + "extra": "22916 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9528, + "unit": "B/op", + "extra": "22916 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 186, + "unit": "allocs/op", + "extra": "22916 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 97448, + "unit": "ns/op\t 14197 B/op\t 293 allocs/op", + "extra": "12303 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 97448, + "unit": "ns/op", + "extra": "12303 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14197, + "unit": "B/op", + "extra": "12303 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 293, + "unit": "allocs/op", + "extra": "12303 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 57040, + "unit": "ns/op\t 15040 B/op\t 226 allocs/op", + "extra": "20414 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 57040, + "unit": "ns/op", + "extra": "20414 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15040, + "unit": "B/op", + "extra": "20414 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 226, + "unit": "allocs/op", + "extra": "20414 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 111758, + "unit": "ns/op\t 15094 B/op\t 361 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 111758, + "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": 53507, + "unit": "ns/op\t 9048 B/op\t 217 allocs/op", + "extra": "22280 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 53507, + "unit": "ns/op", + "extra": "22280 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9048, + "unit": "B/op", + "extra": "22280 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 217, + "unit": "allocs/op", + "extra": "22280 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 98189, + "unit": "ns/op\t 14197 B/op\t 293 allocs/op", + "extra": "12174 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 98189, + "unit": "ns/op", + "extra": "12174 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14197, + "unit": "B/op", + "extra": "12174 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 293, + "unit": "allocs/op", + "extra": "12174 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 56122, + "unit": "ns/op\t 13008 B/op\t 220 allocs/op", + "extra": "21260 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 56122, + "unit": "ns/op", + "extra": "21260 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13008, + "unit": "B/op", + "extra": "21260 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 220, + "unit": "allocs/op", + "extra": "21260 times\n4 procs" + } + ] } ] }