From e857c0609739d830c7767ac8cc82899d8f3e71ba Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 8 Oct 2024 09:41:04 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for d60fb71156bcd1c3347323d03627ba9e509ed0c7 --- 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 47f4487..b7d696f 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1727869361786, + "lastUpdate": 1728380464694, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -794,6 +794,462 @@ window.BENCHMARK_DATA = { "extra": "20824 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": "d60fb71156bcd1c3347323d03627ba9e509ed0c7", + "message": "Merge pull request #22 from ucan-wg/container\n\nadd a token container with serialization as CARv1 file", + "timestamp": "2024-10-08T11:40:00+02:00", + "tree_id": "dcaedada721ca4a53fc4ec289909644281438720", + "url": "https://github.com/ucan-wg/go-ucan/commit/d60fb71156bcd1c3347323d03627ba9e509ed0c7" + }, + "date": 1728380464442, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5952, + "unit": "ns/op\t 17928 B/op\t 59 allocs/op", + "extra": "208119 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5952, + "unit": "ns/op", + "extra": "208119 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17928, + "unit": "B/op", + "extra": "208119 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 59, + "unit": "allocs/op", + "extra": "208119 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 977339, + "unit": "ns/op\t 149321 B/op\t 2631 allocs/op", + "extra": "1194 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 977339, + "unit": "ns/op", + "extra": "1194 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 149321, + "unit": "B/op", + "extra": "1194 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2631, + "unit": "allocs/op", + "extra": "1194 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 12011, + "unit": "ns/op\t 24232 B/op\t 61 allocs/op", + "extra": "104894 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 12011, + "unit": "ns/op", + "extra": "104894 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24232, + "unit": "B/op", + "extra": "104894 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 61, + "unit": "allocs/op", + "extra": "104894 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 1004959, + "unit": "ns/op\t 151381 B/op\t 2633 allocs/op", + "extra": "1196 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 1004959, + "unit": "ns/op", + "extra": "1196 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 151381, + "unit": "B/op", + "extra": "1196 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2633, + "unit": "allocs/op", + "extra": "1196 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 4847, + "unit": "ns/op\t 16368 B/op\t 25 allocs/op", + "extra": "261568 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 4847, + "unit": "ns/op", + "extra": "261568 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16368, + "unit": "B/op", + "extra": "261568 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 25, + "unit": "allocs/op", + "extra": "261568 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 947913, + "unit": "ns/op\t 138775 B/op\t 2534 allocs/op", + "extra": "1220 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 947913, + "unit": "ns/op", + "extra": "1220 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 138775, + "unit": "B/op", + "extra": "1220 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2534, + "unit": "allocs/op", + "extra": "1220 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 8938, + "unit": "ns/op\t 20720 B/op\t 26 allocs/op", + "extra": "134644 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 8938, + "unit": "ns/op", + "extra": "134644 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 20720, + "unit": "B/op", + "extra": "134644 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 26, + "unit": "allocs/op", + "extra": "134644 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 966182, + "unit": "ns/op\t 140846 B/op\t 2536 allocs/op", + "extra": "1230 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 966182, + "unit": "ns/op", + "extra": "1230 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140846, + "unit": "B/op", + "extra": "1230 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2536, + "unit": "allocs/op", + "extra": "1230 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 42.09, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "26533195 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 42.09, + "unit": "ns/op", + "extra": "26533195 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "26533195 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "26533195 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 15020, + "unit": "ns/op\t 14568 B/op\t 162 allocs/op", + "extra": "79266 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 15020, + "unit": "ns/op", + "extra": "79266 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14568, + "unit": "B/op", + "extra": "79266 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 162, + "unit": "allocs/op", + "extra": "79266 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 111332, + "unit": "ns/op\t 15342 B/op\t 374 allocs/op", + "extra": "9328 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 111332, + "unit": "ns/op", + "extra": "9328 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15342, + "unit": "B/op", + "extra": "9328 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 374, + "unit": "allocs/op", + "extra": "9328 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 53708, + "unit": "ns/op\t 9616 B/op\t 210 allocs/op", + "extra": "22641 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 53708, + "unit": "ns/op", + "extra": "22641 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9616, + "unit": "B/op", + "extra": "22641 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 210, + "unit": "allocs/op", + "extra": "22641 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 97648, + "unit": "ns/op\t 14397 B/op\t 305 allocs/op", + "extra": "12223 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 97648, + "unit": "ns/op", + "extra": "12223 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14397, + "unit": "B/op", + "extra": "12223 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12223 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 59582, + "unit": "ns/op\t 15128 B/op\t 250 allocs/op", + "extra": "20095 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 59582, + "unit": "ns/op", + "extra": "20095 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15128, + "unit": "B/op", + "extra": "20095 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 250, + "unit": "allocs/op", + "extra": "20095 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 109148, + "unit": "ns/op\t 15294 B/op\t 373 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 109148, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15294, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 373, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 54425, + "unit": "ns/op\t 9136 B/op\t 241 allocs/op", + "extra": "21979 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 54425, + "unit": "ns/op", + "extra": "21979 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9136, + "unit": "B/op", + "extra": "21979 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 241, + "unit": "allocs/op", + "extra": "21979 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 98852, + "unit": "ns/op\t 14397 B/op\t 305 allocs/op", + "extra": "12224 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 98852, + "unit": "ns/op", + "extra": "12224 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14397, + "unit": "B/op", + "extra": "12224 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12224 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 59612, + "unit": "ns/op\t 13096 B/op\t 244 allocs/op", + "extra": "20325 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 59612, + "unit": "ns/op", + "extra": "20325 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13096, + "unit": "B/op", + "extra": "20325 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 244, + "unit": "allocs/op", + "extra": "20325 times\n4 procs" + } + ] } ] }