From 5e058b07f51a8cf448b84b1ed2c1ee614103aed9 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 20 Nov 2024 15:12:11 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 4ec409edc6cd1041cfdebc0c62c359f91fe374a4 --- dev/bench/data.js | 554 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 553 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index eeb407d..27d6387 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1732114186749, + "lastUpdate": 1732115531778, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -18146,6 +18146,558 @@ window.BENCHMARK_DATA = { "extra": "20931 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": "4ec409edc6cd1041cfdebc0c62c359f91fe374a4", + "message": "Merge pull request #74 from ucan-wg/ci\n\nci: fix after merging to main", + "timestamp": "2024-11-20T16:11:07+01:00", + "tree_id": "b15681a97eb4dfed27790e3fbaf1ed075ee70e6b", + "url": "https://github.com/ucan-wg/go-ucan/commit/4ec409edc6cd1041cfdebc0c62c359f91fe374a4" + }, + "date": 1732115531385, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5599, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "190554 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5599, + "unit": "ns/op", + "extra": "190554 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "190554 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "190554 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 952887, + "unit": "ns/op\t 147961 B/op\t 2651 allocs/op", + "extra": "1244 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 952887, + "unit": "ns/op", + "extra": "1244 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 147961, + "unit": "B/op", + "extra": "1244 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2651, + "unit": "allocs/op", + "extra": "1244 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11038, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "108712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11038, + "unit": "ns/op", + "extra": "108712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "108712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "108712 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 1013739, + "unit": "ns/op\t 150024 B/op\t 2653 allocs/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 1013739, + "unit": "ns/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150024, + "unit": "B/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2653, + "unit": "allocs/op", + "extra": "1204 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 4998, + "unit": "ns/op\t 16872 B/op\t 33 allocs/op", + "extra": "238646 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 4998, + "unit": "ns/op", + "extra": "238646 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16872, + "unit": "B/op", + "extra": "238646 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 33, + "unit": "allocs/op", + "extra": "238646 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 942693, + "unit": "ns/op\t 137977 B/op\t 2562 allocs/op", + "extra": "1261 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 942693, + "unit": "ns/op", + "extra": "1261 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 137977, + "unit": "B/op", + "extra": "1261 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2562, + "unit": "allocs/op", + "extra": "1261 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 9437, + "unit": "ns/op\t 21232 B/op\t 35 allocs/op", + "extra": "128624 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 9437, + "unit": "ns/op", + "extra": "128624 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 21232, + "unit": "B/op", + "extra": "128624 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 35, + "unit": "allocs/op", + "extra": "128624 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 949675, + "unit": "ns/op\t 140041 B/op\t 2564 allocs/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 949675, + "unit": "ns/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140041, + "unit": "B/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2564, + "unit": "allocs/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 50.06, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23944911 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 50.06, + "unit": "ns/op", + "extra": "23944911 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "23944911 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "23944911 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 23.22, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "50127440 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 23.22, + "unit": "ns/op", + "extra": "50127440 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "50127440 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "50127440 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 40.77, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "28330593 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 40.77, + "unit": "ns/op", + "extra": "28330593 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "28330593 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "28330593 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 86.46, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13954904 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 86.46, + "unit": "ns/op", + "extra": "13954904 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13954904 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13954904 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1923, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "570601 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1923, + "unit": "ns/op", + "extra": "570601 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "570601 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "570601 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14930, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "79278 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14930, + "unit": "ns/op", + "extra": "79278 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "79278 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "79278 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 111333, + "unit": "ns/op\t 15173 B/op\t 374 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 111333, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15173, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 374, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 52583, + "unit": "ns/op\t 9584 B/op\t 208 allocs/op", + "extra": "22635 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 52583, + "unit": "ns/op", + "extra": "22635 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9584, + "unit": "B/op", + "extra": "22635 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 208, + "unit": "allocs/op", + "extra": "22635 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 95862, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12507 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 95862, + "unit": "ns/op", + "extra": "12507 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12507 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12507 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 57661, + "unit": "ns/op\t 15096 B/op\t 248 allocs/op", + "extra": "20785 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 57661, + "unit": "ns/op", + "extra": "20785 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15096, + "unit": "B/op", + "extra": "20785 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20785 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 108421, + "unit": "ns/op\t 15125 B/op\t 373 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 108421, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15125, + "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": 54254, + "unit": "ns/op\t 9104 B/op\t 239 allocs/op", + "extra": "22027 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 54254, + "unit": "ns/op", + "extra": "22027 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9104, + "unit": "B/op", + "extra": "22027 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 239, + "unit": "allocs/op", + "extra": "22027 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 97231, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12374 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 97231, + "unit": "ns/op", + "extra": "12374 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12374 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12374 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 56875, + "unit": "ns/op\t 13064 B/op\t 242 allocs/op", + "extra": "21024 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 56875, + "unit": "ns/op", + "extra": "21024 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13064, + "unit": "B/op", + "extra": "21024 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 242, + "unit": "allocs/op", + "extra": "21024 times\n4 procs" + } + ] } ] }