From 221ec4123424693fa1ad6e81d3fac6eb7dd54039 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 12 Nov 2024 09:39:44 +0000 Subject: [PATCH] add Go Benchmark (go) benchmark result for 633b3d210ae150419d050de5fb603702fd68c4b3 --- 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 5997bb5..9d5f11f 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1731005574727, + "lastUpdate": 1731404384630, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -12170,6 +12170,462 @@ window.BENCHMARK_DATA = { "extra": "20917 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "batolettre@gmail.com", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "committer": { + "email": "batolettre@gmail.com", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "distinct": true, + "id": "633b3d210ae150419d050de5fb603702fd68c4b3", + "message": "token: move nonce generation to a shared space", + "timestamp": "2024-11-12T10:38:25+01:00", + "tree_id": "7532984ac6f4adffabf883f51b7045e5d2aa71a7", + "url": "https://github.com/ucan-wg/go-ucan/commit/633b3d210ae150419d050de5fb603702fd68c4b3" + }, + "date": 1731404384301, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5673, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "215245 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5673, + "unit": "ns/op", + "extra": "215245 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "215245 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "215245 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 955863, + "unit": "ns/op\t 147959 B/op\t 2651 allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 955863, + "unit": "ns/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 147959, + "unit": "B/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2651, + "unit": "allocs/op", + "extra": "1222 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11083, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "107532 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11083, + "unit": "ns/op", + "extra": "107532 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "107532 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "107532 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 977710, + "unit": "ns/op\t 150022 B/op\t 2653 allocs/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 977710, + "unit": "ns/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150022, + "unit": "B/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2653, + "unit": "allocs/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 4437, + "unit": "ns/op\t 16368 B/op\t 25 allocs/op", + "extra": "263451 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 4437, + "unit": "ns/op", + "extra": "263451 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16368, + "unit": "B/op", + "extra": "263451 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 25, + "unit": "allocs/op", + "extra": "263451 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 949512, + "unit": "ns/op\t 137418 B/op\t 2554 allocs/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 949512, + "unit": "ns/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 137418, + "unit": "B/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2554, + "unit": "allocs/op", + "extra": "1238 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 9256, + "unit": "ns/op\t 20720 B/op\t 26 allocs/op", + "extra": "135304 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 9256, + "unit": "ns/op", + "extra": "135304 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 20720, + "unit": "B/op", + "extra": "135304 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 26, + "unit": "allocs/op", + "extra": "135304 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 958121, + "unit": "ns/op\t 139485 B/op\t 2556 allocs/op", + "extra": "1226 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 958121, + "unit": "ns/op", + "extra": "1226 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 139485, + "unit": "B/op", + "extra": "1226 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2556, + "unit": "allocs/op", + "extra": "1226 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 49.69, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24194378 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 49.69, + "unit": "ns/op", + "extra": "24194378 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "24194378 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "24194378 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14769, + "unit": "ns/op\t 14576 B/op\t 163 allocs/op", + "extra": "79600 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14769, + "unit": "ns/op", + "extra": "79600 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14576, + "unit": "B/op", + "extra": "79600 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "79600 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 109218, + "unit": "ns/op\t 15173 B/op\t 374 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 109218, + "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": 52860, + "unit": "ns/op\t 9584 B/op\t 208 allocs/op", + "extra": "22809 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 52860, + "unit": "ns/op", + "extra": "22809 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9584, + "unit": "B/op", + "extra": "22809 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 208, + "unit": "allocs/op", + "extra": "22809 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 96671, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12319 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 96671, + "unit": "ns/op", + "extra": "12319 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12319 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12319 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 57476, + "unit": "ns/op\t 15096 B/op\t 248 allocs/op", + "extra": "18631 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 57476, + "unit": "ns/op", + "extra": "18631 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15096, + "unit": "B/op", + "extra": "18631 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "18631 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 108603, + "unit": "ns/op\t 15125 B/op\t 373 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 108603, + "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": 56580, + "unit": "ns/op\t 9104 B/op\t 239 allocs/op", + "extra": "22176 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 56580, + "unit": "ns/op", + "extra": "22176 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9104, + "unit": "B/op", + "extra": "22176 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 239, + "unit": "allocs/op", + "extra": "22176 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 97648, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12304 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 97648, + "unit": "ns/op", + "extra": "12304 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12304 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12304 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 56964, + "unit": "ns/op\t 13064 B/op\t 242 allocs/op", + "extra": "21036 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 56964, + "unit": "ns/op", + "extra": "21036 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13064, + "unit": "B/op", + "extra": "21036 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 242, + "unit": "allocs/op", + "extra": "21036 times\n4 procs" + } + ] } ] }