From 35b7339bb8a42c6a724008fd810d0eb44be3d514 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 29 Jan 2025 13:12:20 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 126177b9e542d5b8983745c9a23a949ddb52e1af --- 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 feaf555..e1c6f57 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1737652076208, + "lastUpdate": 1738156340281, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -34466,6 +34466,654 @@ window.BENCHMARK_DATA = { "extra": "18122 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": "126177b9e542d5b8983745c9a23a949ddb52e1af", + "message": "Merge pull request #103 from ucan-wg/dlg-is\n\ndelegation: add predicates to check if a delegation is a root or powe…", + "timestamp": "2025-01-29T14:11:29+01:00", + "tree_id": "a3c34a0216f5e979fcd7d21c5390416024a2b562", + "url": "https://github.com/ucan-wg/go-ucan/commit/126177b9e542d5b8983745c9a23a949ddb52e1af" + }, + "date": 1738156339836, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/Bytes_write", + "value": 6220, + "unit": "ns/op\t 21056 B/op\t 44 allocs/op", + "extra": "175712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - ns/op", + "value": 6220, + "unit": "ns/op", + "extra": "175712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - B/op", + "value": 21056, + "unit": "B/op", + "extra": "175712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_write - allocs/op", + "value": 44, + "unit": "allocs/op", + "extra": "175712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read", + "value": 971207, + "unit": "ns/op\t 138907 B/op\t 2593 allocs/op", + "extra": "1202 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - ns/op", + "value": 971207, + "unit": "ns/op", + "extra": "1202 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - B/op", + "value": 138907, + "unit": "B/op", + "extra": "1202 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Bytes_read - allocs/op", + "value": 2593, + "unit": "allocs/op", + "extra": "1202 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write", + "value": 200130, + "unit": "ns/op\t 827441 B/op\t 62 allocs/op", + "extra": "5720 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - ns/op", + "value": 200130, + "unit": "ns/op", + "extra": "5720 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - B/op", + "value": 827441, + "unit": "B/op", + "extra": "5720 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_write - allocs/op", + "value": 62, + "unit": "allocs/op", + "extra": "5720 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read", + "value": 1021608, + "unit": "ns/op\t 183030 B/op\t 2650 allocs/op", + "extra": "1156 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - ns/op", + "value": 1021608, + "unit": "ns/op", + "extra": "1156 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - B/op", + "value": 183030, + "unit": "B/op", + "extra": "1156 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/BytesGzipped_read - allocs/op", + "value": 2650, + "unit": "allocs/op", + "extra": "1156 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write", + "value": 10781, + "unit": "ns/op\t 25424 B/op\t 46 allocs/op", + "extra": "107373 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - ns/op", + "value": 10781, + "unit": "ns/op", + "extra": "107373 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - B/op", + "value": 25424, + "unit": "B/op", + "extra": "107373 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "107373 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read", + "value": 976404, + "unit": "ns/op\t 140977 B/op\t 2595 allocs/op", + "extra": "1213 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - ns/op", + "value": 976404, + "unit": "ns/op", + "extra": "1213 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - B/op", + "value": 140977, + "unit": "B/op", + "extra": "1213 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPadding_read - allocs/op", + "value": 2595, + "unit": "allocs/op", + "extra": "1213 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write", + "value": 224103, + "unit": "ns/op\t 832386 B/op\t 65 allocs/op", + "extra": "5110 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - ns/op", + "value": 224103, + "unit": "ns/op", + "extra": "5110 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - B/op", + "value": 832386, + "unit": "B/op", + "extra": "5110 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "5110 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read", + "value": 1027199, + "unit": "ns/op\t 189510 B/op\t 2657 allocs/op", + "extra": "1148 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - ns/op", + "value": 1027199, + "unit": "ns/op", + "extra": "1148 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - B/op", + "value": 189510, + "unit": "B/op", + "extra": "1148 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64StdPaddingGzipped_read - allocs/op", + "value": 2657, + "unit": "allocs/op", + "extra": "1148 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write", + "value": 11303, + "unit": "ns/op\t 25424 B/op\t 46 allocs/op", + "extra": "110506 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - ns/op", + "value": 11303, + "unit": "ns/op", + "extra": "110506 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - B/op", + "value": 25424, + "unit": "B/op", + "extra": "110506 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_write - allocs/op", + "value": 46, + "unit": "allocs/op", + "extra": "110506 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read", + "value": 970116, + "unit": "ns/op\t 140977 B/op\t 2595 allocs/op", + "extra": "1141 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - ns/op", + "value": 970116, + "unit": "ns/op", + "extra": "1141 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - B/op", + "value": 140977, + "unit": "B/op", + "extra": "1141 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URL_read - allocs/op", + "value": 2595, + "unit": "allocs/op", + "extra": "1141 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write", + "value": 219053, + "unit": "ns/op\t 832387 B/op\t 65 allocs/op", + "extra": "5401 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - ns/op", + "value": 219053, + "unit": "ns/op", + "extra": "5401 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - B/op", + "value": 832387, + "unit": "B/op", + "extra": "5401 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_write - allocs/op", + "value": 65, + "unit": "allocs/op", + "extra": "5401 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read", + "value": 1014906, + "unit": "ns/op\t 188496 B/op\t 2656 allocs/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - ns/op", + "value": 1014906, + "unit": "ns/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - B/op", + "value": 188496, + "unit": "B/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/Base64URLGzip_read - allocs/op", + "value": 2656, + "unit": "allocs/op", + "extra": "1165 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 42.17, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "28259641 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 42.17, + "unit": "ns/op", + "extra": "28259641 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "28259641 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "28259641 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 24.42, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "45018121 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 24.42, + "unit": "ns/op", + "extra": "45018121 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "45018121 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "45018121 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 43.65, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "26294666 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 43.65, + "unit": "ns/op", + "extra": "26294666 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "26294666 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "26294666 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 93.26, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13058325 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 93.26, + "unit": "ns/op", + "extra": "13058325 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13058325 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13058325 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 2037, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "536994 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 2037, + "unit": "ns/op", + "extra": "536994 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "536994 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "536994 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 15274, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "78201 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 15274, + "unit": "ns/op", + "extra": "78201 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "78201 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "78201 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 112105, + "unit": "ns/op\t 15318 B/op\t 383 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 112105, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15318, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 383, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 53901, + "unit": "ns/op\t 9752 B/op\t 214 allocs/op", + "extra": "21902 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 53901, + "unit": "ns/op", + "extra": "21902 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9752, + "unit": "B/op", + "extra": "21902 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "21902 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 100251, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 100251, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14373, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 59227, + "unit": "ns/op\t 15264 B/op\t 254 allocs/op", + "extra": "20307 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 59227, + "unit": "ns/op", + "extra": "20307 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15264, + "unit": "B/op", + "extra": "20307 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 254, + "unit": "allocs/op", + "extra": "20307 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 111805, + "unit": "ns/op\t 15270 B/op\t 382 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 111805, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15270, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 382, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 58366, + "unit": "ns/op\t 9272 B/op\t 245 allocs/op", + "extra": "21513 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 58366, + "unit": "ns/op", + "extra": "21513 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9272, + "unit": "B/op", + "extra": "21513 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 245, + "unit": "allocs/op", + "extra": "21513 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 100436, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 100436, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14373, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 58331, + "unit": "ns/op\t 13232 B/op\t 248 allocs/op", + "extra": "20580 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 58331, + "unit": "ns/op", + "extra": "20580 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13232, + "unit": "B/op", + "extra": "20580 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20580 times\n4 procs" + } + ] } ] }