From 43767a706e5b30b5bd90138cbf3115b28e87ead8 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Mon, 14 Oct 2024 10:53:40 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 9051e5250bd50bcceb7dc13a898e2b518018dc84 --- 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 e9d0ebc..746cb30 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1728491991974, + "lastUpdate": 1728903220112, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -2162,6 +2162,462 @@ window.BENCHMARK_DATA = { "extra": "21183 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": "9051e5250bd50bcceb7dc13a898e2b518018dc84", + "message": "Merge pull request #40 from ucan-wg/dlg-example\n\ndelegation: make the examples more examply, less testy", + "timestamp": "2024-10-14T12:52:52+02:00", + "tree_id": "8220a4f978b9aa6ca748991ec77c2f6092ff47e0", + "url": "https://github.com/ucan-wg/go-ucan/commit/9051e5250bd50bcceb7dc13a898e2b518018dc84" + }, + "date": 1728903219800, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5582, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "192968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5582, + "unit": "ns/op", + "extra": "192968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "192968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "192968 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 952866, + "unit": "ns/op\t 148843 B/op\t 2621 allocs/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 952866, + "unit": "ns/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 148843, + "unit": "B/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2621, + "unit": "allocs/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11007, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "108049 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11007, + "unit": "ns/op", + "extra": "108049 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "108049 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "108049 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 993321, + "unit": "ns/op\t 150909 B/op\t 2623 allocs/op", + "extra": "1203 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 993321, + "unit": "ns/op", + "extra": "1203 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150909, + "unit": "B/op", + "extra": "1203 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2623, + "unit": "allocs/op", + "extra": "1203 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 4383, + "unit": "ns/op\t 16368 B/op\t 25 allocs/op", + "extra": "265404 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 4383, + "unit": "ns/op", + "extra": "265404 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16368, + "unit": "B/op", + "extra": "265404 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 25, + "unit": "allocs/op", + "extra": "265404 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 937988, + "unit": "ns/op\t 138296 B/op\t 2524 allocs/op", + "extra": "1260 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 937988, + "unit": "ns/op", + "extra": "1260 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 138296, + "unit": "B/op", + "extra": "1260 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2524, + "unit": "allocs/op", + "extra": "1260 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 8621, + "unit": "ns/op\t 20720 B/op\t 26 allocs/op", + "extra": "137844 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 8621, + "unit": "ns/op", + "extra": "137844 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 20720, + "unit": "B/op", + "extra": "137844 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 26, + "unit": "allocs/op", + "extra": "137844 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 949706, + "unit": "ns/op\t 140363 B/op\t 2526 allocs/op", + "extra": "1242 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 949706, + "unit": "ns/op", + "extra": "1242 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140363, + "unit": "B/op", + "extra": "1242 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2526, + "unit": "allocs/op", + "extra": "1242 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 41.28, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "28536588 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 41.28, + "unit": "ns/op", + "extra": "28536588 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "28536588 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "28536588 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14777, + "unit": "ns/op\t 14569 B/op\t 162 allocs/op", + "extra": "80704 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14777, + "unit": "ns/op", + "extra": "80704 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14569, + "unit": "B/op", + "extra": "80704 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 162, + "unit": "allocs/op", + "extra": "80704 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 108411, + "unit": "ns/op\t 15294 B/op\t 373 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 108411, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15294, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - allocs/op", + "value": 373, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal", + "value": 54108, + "unit": "ns/op\t 9600 B/op\t 208 allocs/op", + "extra": "22686 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 54108, + "unit": "ns/op", + "extra": "22686 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9600, + "unit": "B/op", + "extra": "22686 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 208, + "unit": "allocs/op", + "extra": "22686 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 96093, + "unit": "ns/op\t 14349 B/op\t 304 allocs/op", + "extra": "12433 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 96093, + "unit": "ns/op", + "extra": "12433 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14349, + "unit": "B/op", + "extra": "12433 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 304, + "unit": "allocs/op", + "extra": "12433 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 57455, + "unit": "ns/op\t 15112 B/op\t 248 allocs/op", + "extra": "20838 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 57455, + "unit": "ns/op", + "extra": "20838 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15112, + "unit": "B/op", + "extra": "20838 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20838 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 107977, + "unit": "ns/op\t 15245 B/op\t 372 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 107977, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15245, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - allocs/op", + "value": 372, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter", + "value": 53910, + "unit": "ns/op\t 9120 B/op\t 239 allocs/op", + "extra": "22077 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 53910, + "unit": "ns/op", + "extra": "22077 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9120, + "unit": "B/op", + "extra": "22077 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 239, + "unit": "allocs/op", + "extra": "22077 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 97186, + "unit": "ns/op\t 14349 B/op\t 304 allocs/op", + "extra": "12362 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 97186, + "unit": "ns/op", + "extra": "12362 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14349, + "unit": "B/op", + "extra": "12362 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 304, + "unit": "allocs/op", + "extra": "12362 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 59129, + "unit": "ns/op\t 13080 B/op\t 242 allocs/op", + "extra": "21042 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 59129, + "unit": "ns/op", + "extra": "21042 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13080, + "unit": "B/op", + "extra": "21042 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 242, + "unit": "allocs/op", + "extra": "21042 times\n4 procs" + } + ] } ] }