From c73093e295497c3da6e20476a859d871dcdcf3a2 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 15 Oct 2024 14:54:05 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 2ad3aeb6da7f545626e353b25a9d79dea44a4b24 --- dev/bench/data.js | 458 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 457 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index 627f989..74035ce 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1729003128330, + "lastUpdate": 1729004045501, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -4418,6 +4418,462 @@ window.BENCHMARK_DATA = { "extra": "21157 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "michael.mure@consensys.net", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "committer": { + "email": "michael.mure@consensys.net", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "distinct": true, + "id": "2ad3aeb6da7f545626e353b25a9d79dea44a4b24", + "message": "policy: match is now a method of Policy", + "timestamp": "2024-10-15T16:53:06+02:00", + "tree_id": "6c78a5b7b1a6756a695778e9d1cb6c967672c5cf", + "url": "https://github.com/ucan-wg/go-ucan/commit/2ad3aeb6da7f545626e353b25a9d79dea44a4b24" + }, + "date": 1729004044599, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5731, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "209125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5731, + "unit": "ns/op", + "extra": "209125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "209125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "209125 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 975900, + "unit": "ns/op\t 148842 B/op\t 2621 allocs/op", + "extra": "1206 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 975900, + "unit": "ns/op", + "extra": "1206 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 148842, + "unit": "B/op", + "extra": "1206 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2621, + "unit": "allocs/op", + "extra": "1206 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11080, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "107016 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11080, + "unit": "ns/op", + "extra": "107016 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "107016 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "107016 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 976309, + "unit": "ns/op\t 150903 B/op\t 2623 allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 976309, + "unit": "ns/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150903, + "unit": "B/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2623, + "unit": "allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 4454, + "unit": "ns/op\t 16368 B/op\t 25 allocs/op", + "extra": "263181 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 4454, + "unit": "ns/op", + "extra": "263181 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16368, + "unit": "B/op", + "extra": "263181 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 25, + "unit": "allocs/op", + "extra": "263181 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 944615, + "unit": "ns/op\t 138300 B/op\t 2524 allocs/op", + "extra": "1255 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 944615, + "unit": "ns/op", + "extra": "1255 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 138300, + "unit": "B/op", + "extra": "1255 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2524, + "unit": "allocs/op", + "extra": "1255 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 8726, + "unit": "ns/op\t 20720 B/op\t 26 allocs/op", + "extra": "137562 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 8726, + "unit": "ns/op", + "extra": "137562 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 20720, + "unit": "B/op", + "extra": "137562 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 26, + "unit": "allocs/op", + "extra": "137562 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 979660, + "unit": "ns/op\t 140369 B/op\t 2526 allocs/op", + "extra": "1250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 979660, + "unit": "ns/op", + "extra": "1250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140369, + "unit": "B/op", + "extra": "1250 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2526, + "unit": "allocs/op", + "extra": "1250 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 42.07, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "28863916 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 42.07, + "unit": "ns/op", + "extra": "28863916 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "28863916 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "28863916 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 15088, + "unit": "ns/op\t 14569 B/op\t 162 allocs/op", + "extra": "80158 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 15088, + "unit": "ns/op", + "extra": "80158 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14569, + "unit": "B/op", + "extra": "80158 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 162, + "unit": "allocs/op", + "extra": "80158 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 109992, + "unit": "ns/op\t 15102 B/op\t 369 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 109992, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15102, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 369, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 53913, + "unit": "ns/op\t 9600 B/op\t 208 allocs/op", + "extra": "21808 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 53913, + "unit": "ns/op", + "extra": "21808 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9600, + "unit": "B/op", + "extra": "21808 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 208, + "unit": "allocs/op", + "extra": "21808 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 98474, + "unit": "ns/op\t 14157 B/op\t 300 allocs/op", + "extra": "12150 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 98474, + "unit": "ns/op", + "extra": "12150 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14157, + "unit": "B/op", + "extra": "12150 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 300, + "unit": "allocs/op", + "extra": "12150 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 61232, + "unit": "ns/op\t 15112 B/op\t 248 allocs/op", + "extra": "20166 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 61232, + "unit": "ns/op", + "extra": "20166 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15112, + "unit": "B/op", + "extra": "20166 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20166 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 109719, + "unit": "ns/op\t 15053 B/op\t 368 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 109719, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15053, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 368, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 54266, + "unit": "ns/op\t 9120 B/op\t 239 allocs/op", + "extra": "20744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 54266, + "unit": "ns/op", + "extra": "20744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9120, + "unit": "B/op", + "extra": "20744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 239, + "unit": "allocs/op", + "extra": "20744 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 97451, + "unit": "ns/op\t 14157 B/op\t 300 allocs/op", + "extra": "12289 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 97451, + "unit": "ns/op", + "extra": "12289 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14157, + "unit": "B/op", + "extra": "12289 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 300, + "unit": "allocs/op", + "extra": "12289 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 57107, + "unit": "ns/op\t 13080 B/op\t 242 allocs/op", + "extra": "20964 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 57107, + "unit": "ns/op", + "extra": "20964 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13080, + "unit": "B/op", + "extra": "20964 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 242, + "unit": "allocs/op", + "extra": "20964 times\n4 procs" + } + ] } ] }