From c2d3ff0ecc678d89a910a5bc90eb9fd5edead4d0 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 27 Nov 2024 15:14:17 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for d1d047cd9e5df3d33a7c42584701a663a1cb3125 --- 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 f0e9e86..b916e10 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1732706827777, + "lastUpdate": 1732720457234, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -22562,6 +22562,558 @@ window.BENCHMARK_DATA = { "extra": "20608 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": "d1d047cd9e5df3d33a7c42584701a663a1cb3125", + "message": "Merge pull request #85 from ucan-wg/container-accessor\n\ncontainer: add a way to check for a single invocation, also iterator", + "timestamp": "2024-11-27T16:13:29+01:00", + "tree_id": "5644c2aa846d8b7c9449d1f71df2483f443218c3", + "url": "https://github.com/ucan-wg/go-ucan/commit/d1d047cd9e5df3d33a7c42584701a663a1cb3125" + }, + "date": 1732720456684, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5745, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "210217 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5745, + "unit": "ns/op", + "extra": "210217 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "210217 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "210217 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 983536, + "unit": "ns/op\t 147960 B/op\t 2651 allocs/op", + "extra": "1040 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 983536, + "unit": "ns/op", + "extra": "1040 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 147960, + "unit": "B/op", + "extra": "1040 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2651, + "unit": "allocs/op", + "extra": "1040 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11020, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "108513 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11020, + "unit": "ns/op", + "extra": "108513 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "108513 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "108513 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 970065, + "unit": "ns/op\t 150022 B/op\t 2653 allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 970065, + "unit": "ns/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150022, + "unit": "B/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2653, + "unit": "allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 5036, + "unit": "ns/op\t 16872 B/op\t 33 allocs/op", + "extra": "228669 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 5036, + "unit": "ns/op", + "extra": "228669 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16872, + "unit": "B/op", + "extra": "228669 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 33, + "unit": "allocs/op", + "extra": "228669 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 939546, + "unit": "ns/op\t 137980 B/op\t 2562 allocs/op", + "extra": "1258 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 939546, + "unit": "ns/op", + "extra": "1258 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 137980, + "unit": "B/op", + "extra": "1258 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2562, + "unit": "allocs/op", + "extra": "1258 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 9280, + "unit": "ns/op\t 21232 B/op\t 35 allocs/op", + "extra": "127548 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 9280, + "unit": "ns/op", + "extra": "127548 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 21232, + "unit": "B/op", + "extra": "127548 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 35, + "unit": "allocs/op", + "extra": "127548 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 967411, + "unit": "ns/op\t 140045 B/op\t 2564 allocs/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 967411, + "unit": "ns/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140045, + "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.02, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "22222569 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 50.02, + "unit": "ns/op", + "extra": "22222569 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "22222569 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "22222569 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 23.3, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "50105984 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 23.3, + "unit": "ns/op", + "extra": "50105984 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "50105984 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "50105984 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 40.9, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "27940749 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 40.9, + "unit": "ns/op", + "extra": "27940749 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "27940749 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "27940749 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 84.01, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13879504 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 84.01, + "unit": "ns/op", + "extra": "13879504 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13879504 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13879504 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1932, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "575367 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1932, + "unit": "ns/op", + "extra": "575367 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "575367 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "575367 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14844, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "80373 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14844, + "unit": "ns/op", + "extra": "80373 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "80373 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "80373 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 108889, + "unit": "ns/op\t 15174 B/op\t 374 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 108889, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15174, + "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": 57888, + "unit": "ns/op\t 9752 B/op\t 214 allocs/op", + "extra": "22620 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 57888, + "unit": "ns/op", + "extra": "22620 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9752, + "unit": "B/op", + "extra": "22620 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "22620 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 96087, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12427 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 96087, + "unit": "ns/op", + "extra": "12427 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12427 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12427 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 57930, + "unit": "ns/op\t 15264 B/op\t 254 allocs/op", + "extra": "20672 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 57930, + "unit": "ns/op", + "extra": "20672 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15264, + "unit": "B/op", + "extra": "20672 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 254, + "unit": "allocs/op", + "extra": "20672 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 107827, + "unit": "ns/op\t 15125 B/op\t 373 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 107827, + "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": 54686, + "unit": "ns/op\t 9272 B/op\t 245 allocs/op", + "extra": "21934 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 54686, + "unit": "ns/op", + "extra": "21934 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9272, + "unit": "B/op", + "extra": "21934 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 245, + "unit": "allocs/op", + "extra": "21934 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 100995, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12376 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 100995, + "unit": "ns/op", + "extra": "12376 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12376 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12376 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 59120, + "unit": "ns/op\t 13232 B/op\t 248 allocs/op", + "extra": "20869 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 59120, + "unit": "ns/op", + "extra": "20869 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13232, + "unit": "B/op", + "extra": "20869 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20869 times\n4 procs" + } + ] } ] }