From 55130761e73cadf0d8d322642b2c0eea95efbaf6 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 11 Dec 2024 15:13:42 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 47156a8ad6c5850faa2b45fa76b8b28de03c683c --- 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 5c01f0f..7bf8704 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1733833686334, + "lastUpdate": 1733930022617, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -27530,6 +27530,558 @@ window.BENCHMARK_DATA = { "extra": "20720 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": "47156a8ad6c5850faa2b45fa76b8b28de03c683c", + "message": "Merge pull request #94 from ucan-wg/base64-string\n\ncontainer: I/O as strings for base64", + "timestamp": "2024-12-11T16:12:48+01:00", + "tree_id": "8845e51def090d2a3d59203f9b8fda8810584609", + "url": "https://github.com/ucan-wg/go-ucan/commit/47156a8ad6c5850faa2b45fa76b8b28de03c683c" + }, + "date": 1733930022040, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5663, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "208392 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5663, + "unit": "ns/op", + "extra": "208392 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "208392 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "208392 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 990032, + "unit": "ns/op\t 148442 B/op\t 2681 allocs/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 990032, + "unit": "ns/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 148442, + "unit": "B/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2681, + "unit": "allocs/op", + "extra": "1122 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11145, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "107852 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11145, + "unit": "ns/op", + "extra": "107852 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "107852 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "107852 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 987332, + "unit": "ns/op\t 150507 B/op\t 2683 allocs/op", + "extra": "1177 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 987332, + "unit": "ns/op", + "extra": "1177 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150507, + "unit": "B/op", + "extra": "1177 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2683, + "unit": "allocs/op", + "extra": "1177 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 5053, + "unit": "ns/op\t 16872 B/op\t 33 allocs/op", + "extra": "232222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 5053, + "unit": "ns/op", + "extra": "232222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16872, + "unit": "B/op", + "extra": "232222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 33, + "unit": "allocs/op", + "extra": "232222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 975971, + "unit": "ns/op\t 138460 B/op\t 2592 allocs/op", + "extra": "1249 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 975971, + "unit": "ns/op", + "extra": "1249 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 138460, + "unit": "B/op", + "extra": "1249 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2592, + "unit": "allocs/op", + "extra": "1249 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 9366, + "unit": "ns/op\t 21232 B/op\t 35 allocs/op", + "extra": "126836 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 9366, + "unit": "ns/op", + "extra": "126836 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 21232, + "unit": "B/op", + "extra": "126836 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 35, + "unit": "allocs/op", + "extra": "126836 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 980703, + "unit": "ns/op\t 140524 B/op\t 2594 allocs/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 980703, + "unit": "ns/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140524, + "unit": "B/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2594, + "unit": "allocs/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 50.22, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21759804 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 50.22, + "unit": "ns/op", + "extra": "21759804 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "21759804 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "21759804 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 24.02, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "49639002 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 24.02, + "unit": "ns/op", + "extra": "49639002 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "49639002 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "49639002 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 42.74, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "27208322 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 42.74, + "unit": "ns/op", + "extra": "27208322 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "27208322 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "27208322 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 87.94, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13448343 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 87.94, + "unit": "ns/op", + "extra": "13448343 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13448343 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13448343 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1981, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "554184 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1981, + "unit": "ns/op", + "extra": "554184 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "554184 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "554184 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 15488, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "80853 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 15488, + "unit": "ns/op", + "extra": "80853 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "80853 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "80853 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 111631, + "unit": "ns/op\t 15317 B/op\t 383 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 111631, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15317, + "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": 54111, + "unit": "ns/op\t 9752 B/op\t 214 allocs/op", + "extra": "21943 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 54111, + "unit": "ns/op", + "extra": "21943 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9752, + "unit": "B/op", + "extra": "21943 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "21943 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 99536, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "12102 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 99536, + "unit": "ns/op", + "extra": "12102 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14373, + "unit": "B/op", + "extra": "12102 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "12102 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 59308, + "unit": "ns/op\t 15264 B/op\t 254 allocs/op", + "extra": "18960 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 59308, + "unit": "ns/op", + "extra": "18960 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15264, + "unit": "B/op", + "extra": "18960 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 254, + "unit": "allocs/op", + "extra": "18960 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 111215, + "unit": "ns/op\t 15270 B/op\t 382 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 111215, + "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": 55696, + "unit": "ns/op\t 9272 B/op\t 245 allocs/op", + "extra": "21584 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 55696, + "unit": "ns/op", + "extra": "21584 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9272, + "unit": "B/op", + "extra": "21584 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 245, + "unit": "allocs/op", + "extra": "21584 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 101078, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 101078, + "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": 57894, + "unit": "ns/op\t 13232 B/op\t 248 allocs/op", + "extra": "19302 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 57894, + "unit": "ns/op", + "extra": "19302 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13232, + "unit": "B/op", + "extra": "19302 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "19302 times\n4 procs" + } + ] } ] }