diff --git a/dev/bench/data.js b/dev/bench/data.js index 5434939..7ab756c 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1733146925265, + "lastUpdate": 1733157318669, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -24770,6 +24770,558 @@ window.BENCHMARK_DATA = { "extra": "20679 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": "d52218fa5ab4e813ef055463317d7d26cc19339f", + "message": "Merge pull request #88 from ucan-wg/feat/secretbox-meta-encryption\n\nfeat(meta): secretbox encryption in place of aes-gcm", + "timestamp": "2024-12-02T17:34:29+01:00", + "tree_id": "baea7e27c6bede7bdc24c185cc2d1aea4e2f9c5f", + "url": "https://github.com/ucan-wg/go-ucan/commit/d52218fa5ab4e813ef055463317d7d26cc19339f" + }, + "date": 1733157318224, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5964, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "168265 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5964, + "unit": "ns/op", + "extra": "168265 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "168265 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "168265 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 956749, + "unit": "ns/op\t 148441 B/op\t 2681 allocs/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 956749, + "unit": "ns/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 148441, + "unit": "B/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2681, + "unit": "allocs/op", + "extra": "1236 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 10966, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "107388 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 10966, + "unit": "ns/op", + "extra": "107388 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "107388 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "107388 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 986983, + "unit": "ns/op\t 150504 B/op\t 2683 allocs/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 986983, + "unit": "ns/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150504, + "unit": "B/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2683, + "unit": "allocs/op", + "extra": "1198 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 5017, + "unit": "ns/op\t 16872 B/op\t 33 allocs/op", + "extra": "230102 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 5017, + "unit": "ns/op", + "extra": "230102 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16872, + "unit": "B/op", + "extra": "230102 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 33, + "unit": "allocs/op", + "extra": "230102 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 944962, + "unit": "ns/op\t 138457 B/op\t 2592 allocs/op", + "extra": "1231 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 944962, + "unit": "ns/op", + "extra": "1231 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 138457, + "unit": "B/op", + "extra": "1231 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2592, + "unit": "allocs/op", + "extra": "1231 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 9196, + "unit": "ns/op\t 21232 B/op\t 35 allocs/op", + "extra": "128296 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 9196, + "unit": "ns/op", + "extra": "128296 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 21232, + "unit": "B/op", + "extra": "128296 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 35, + "unit": "allocs/op", + "extra": "128296 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 962265, + "unit": "ns/op\t 140523 B/op\t 2594 allocs/op", + "extra": "1225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 962265, + "unit": "ns/op", + "extra": "1225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 140523, + "unit": "B/op", + "extra": "1225 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2594, + "unit": "allocs/op", + "extra": "1225 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 42.43, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "28551609 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 42.43, + "unit": "ns/op", + "extra": "28551609 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "28551609 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "28551609 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 23.26, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "51095077 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 23.26, + "unit": "ns/op", + "extra": "51095077 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "51095077 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "51095077 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 40.69, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "28433400 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 40.69, + "unit": "ns/op", + "extra": "28433400 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "28433400 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "28433400 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 84.32, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13680391 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 84.32, + "unit": "ns/op", + "extra": "13680391 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13680391 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13680391 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1950, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "607368 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1950, + "unit": "ns/op", + "extra": "607368 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "607368 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "607368 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 14748, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "79113 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 14748, + "unit": "ns/op", + "extra": "79113 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "79113 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "79113 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 108529, + "unit": "ns/op\t 15318 B/op\t 383 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 108529, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - B/op", + "value": 15318, + "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": 53692, + "unit": "ns/op\t 9752 B/op\t 214 allocs/op", + "extra": "22606 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 53692, + "unit": "ns/op", + "extra": "22606 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9752, + "unit": "B/op", + "extra": "22606 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 214, + "unit": "allocs/op", + "extra": "22606 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 97129, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "11828 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 97129, + "unit": "ns/op", + "extra": "11828 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14373, + "unit": "B/op", + "extra": "11828 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "11828 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 58678, + "unit": "ns/op\t 15264 B/op\t 254 allocs/op", + "extra": "20554 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 58678, + "unit": "ns/op", + "extra": "20554 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15264, + "unit": "B/op", + "extra": "20554 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 254, + "unit": "allocs/op", + "extra": "20554 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 109367, + "unit": "ns/op\t 15270 B/op\t 382 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 109367, + "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": 55630, + "unit": "ns/op\t 9272 B/op\t 245 allocs/op", + "extra": "21663 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 55630, + "unit": "ns/op", + "extra": "21663 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9272, + "unit": "B/op", + "extra": "21663 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 245, + "unit": "allocs/op", + "extra": "21663 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 98299, + "unit": "ns/op\t 14373 B/op\t 314 allocs/op", + "extra": "12117 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 98299, + "unit": "ns/op", + "extra": "12117 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14373, + "unit": "B/op", + "extra": "12117 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 314, + "unit": "allocs/op", + "extra": "12117 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 57514, + "unit": "ns/op\t 13232 B/op\t 248 allocs/op", + "extra": "20812 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 57514, + "unit": "ns/op", + "extra": "20812 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13232, + "unit": "B/op", + "extra": "20812 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20812 times\n4 procs" + } + ] } ] }