diff --git a/dev/bench/data.js b/dev/bench/data.js index 6e3c7b0..abfec0c 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1731428445842, + "lastUpdate": 1731429944886, "repoUrl": "https://github.com/ucan-wg/go-ucan", "entries": { "Go Benchmark": [ @@ -14282,6 +14282,558 @@ window.BENCHMARK_DATA = { "extra": "20931 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "michael.mure@consensys.net", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "committer": { + "email": "michael.mure@consensys.net", + "name": "Michael Muré", + "username": "MichaelMure" + }, + "distinct": true, + "id": "257ee16b66f3460e3e1872477094519e33b97638", + "message": "improve readme", + "timestamp": "2024-11-12T17:44:28+01:00", + "tree_id": "ae0f3af8b3852a4fb228bbc8157ea58256ece0d4", + "url": "https://github.com/ucan-wg/go-ucan/commit/257ee16b66f3460e3e1872477094519e33b97638" + }, + "date": 1731429943984, + "tool": "go", + "benches": [ + { + "name": "BenchmarkContainerSerialisation/car_write", + "value": 5631, + "unit": "ns/op\t 17896 B/op\t 58 allocs/op", + "extra": "217174 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - ns/op", + "value": 5631, + "unit": "ns/op", + "extra": "217174 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - B/op", + "value": 17896, + "unit": "B/op", + "extra": "217174 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_write - allocs/op", + "value": 58, + "unit": "allocs/op", + "extra": "217174 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read", + "value": 972210, + "unit": "ns/op\t 147961 B/op\t 2651 allocs/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - ns/op", + "value": 972210, + "unit": "ns/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - B/op", + "value": 147961, + "unit": "B/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/car_read - allocs/op", + "value": 2651, + "unit": "allocs/op", + "extra": "1216 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write", + "value": 11151, + "unit": "ns/op\t 24200 B/op\t 60 allocs/op", + "extra": "108328 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - ns/op", + "value": 11151, + "unit": "ns/op", + "extra": "108328 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - B/op", + "value": 24200, + "unit": "B/op", + "extra": "108328 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_write - allocs/op", + "value": 60, + "unit": "allocs/op", + "extra": "108328 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read", + "value": 980523, + "unit": "ns/op\t 150026 B/op\t 2653 allocs/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - ns/op", + "value": 980523, + "unit": "ns/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - B/op", + "value": 150026, + "unit": "B/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/carBase64_read - allocs/op", + "value": 2653, + "unit": "allocs/op", + "extra": "1212 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write", + "value": 4853, + "unit": "ns/op\t 16368 B/op\t 25 allocs/op", + "extra": "262873 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - ns/op", + "value": 4853, + "unit": "ns/op", + "extra": "262873 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - B/op", + "value": 16368, + "unit": "B/op", + "extra": "262873 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_write - allocs/op", + "value": 25, + "unit": "allocs/op", + "extra": "262873 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read", + "value": 965683, + "unit": "ns/op\t 137419 B/op\t 2554 allocs/op", + "extra": "1251 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - ns/op", + "value": 965683, + "unit": "ns/op", + "extra": "1251 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - B/op", + "value": 137419, + "unit": "B/op", + "extra": "1251 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cbor_read - allocs/op", + "value": 2554, + "unit": "allocs/op", + "extra": "1251 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write", + "value": 8945, + "unit": "ns/op\t 20720 B/op\t 26 allocs/op", + "extra": "134805 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - ns/op", + "value": 8945, + "unit": "ns/op", + "extra": "134805 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - B/op", + "value": 20720, + "unit": "B/op", + "extra": "134805 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_write - allocs/op", + "value": 26, + "unit": "allocs/op", + "extra": "134805 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read", + "value": 964836, + "unit": "ns/op\t 139483 B/op\t 2556 allocs/op", + "extra": "1218 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - ns/op", + "value": 964836, + "unit": "ns/op", + "extra": "1218 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - B/op", + "value": 139483, + "unit": "B/op", + "extra": "1218 times\n4 procs" + }, + { + "name": "BenchmarkContainerSerialisation/cborBase64_read - allocs/op", + "value": 2556, + "unit": "allocs/op", + "extra": "1218 times\n4 procs" + }, + { + "name": "BenchmarkGlob", + "value": 50.19, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24346251 times\n4 procs" + }, + { + "name": "BenchmarkGlob - ns/op", + "value": 50.19, + "unit": "ns/op", + "extra": "24346251 times\n4 procs" + }, + { + "name": "BenchmarkGlob - B/op", + "value": 0, + "unit": "B/op", + "extra": "24346251 times\n4 procs" + }, + { + "name": "BenchmarkGlob - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "24346251 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool", + "value": 23.33, + "unit": "ns/op\t 1 B/op\t 1 allocs/op", + "extra": "50503003 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - ns/op", + "value": 23.33, + "unit": "ns/op", + "extra": "50503003 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - B/op", + "value": 1, + "unit": "B/op", + "extra": "50503003 times\n4 procs" + }, + { + "name": "BenchmarkAny/bool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "50503003 times\n4 procs" + }, + { + "name": "BenchmarkAny/string", + "value": 40.95, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "28724144 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - ns/op", + "value": 40.95, + "unit": "ns/op", + "extra": "28724144 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - B/op", + "value": 16, + "unit": "B/op", + "extra": "28724144 times\n4 procs" + }, + { + "name": "BenchmarkAny/string - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "28724144 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes", + "value": 84.52, + "unit": "ns/op\t 52 B/op\t 3 allocs/op", + "extra": "13400526 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - ns/op", + "value": 84.52, + "unit": "ns/op", + "extra": "13400526 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - B/op", + "value": 52, + "unit": "B/op", + "extra": "13400526 times\n4 procs" + }, + { + "name": "BenchmarkAny/bytes - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "13400526 times\n4 procs" + }, + { + "name": "BenchmarkAny/map", + "value": 1988, + "unit": "ns/op\t 2248 B/op\t 37 allocs/op", + "extra": "566822 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - ns/op", + "value": 1988, + "unit": "ns/op", + "extra": "566822 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - B/op", + "value": 2248, + "unit": "B/op", + "extra": "566822 times\n4 procs" + }, + { + "name": "BenchmarkAny/map - allocs/op", + "value": 37, + "unit": "allocs/op", + "extra": "566822 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad", + "value": 15666, + "unit": "ns/op\t 14577 B/op\t 163 allocs/op", + "extra": "80625 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - ns/op", + "value": 15666, + "unit": "ns/op", + "extra": "80625 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - B/op", + "value": 14577, + "unit": "B/op", + "extra": "80625 times\n4 procs" + }, + { + "name": "BenchmarkSchemaLoad - allocs/op", + "value": 163, + "unit": "allocs/op", + "extra": "80625 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson", + "value": 109196, + "unit": "ns/op\t 15174 B/op\t 374 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/FromDagJson - ns/op", + "value": 109196, + "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": 53372, + "unit": "ns/op\t 9584 B/op\t 208 allocs/op", + "extra": "22406 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - ns/op", + "value": 53372, + "unit": "ns/op", + "extra": "22406 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - B/op", + "value": 9584, + "unit": "B/op", + "extra": "22406 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Seal - allocs/op", + "value": 208, + "unit": "allocs/op", + "extra": "22406 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal", + "value": 98011, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "12297 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - ns/op", + "value": 98011, + "unit": "ns/op", + "extra": "12297 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - B/op", + "value": 14229, + "unit": "B/op", + "extra": "12297 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/Unseal - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "12297 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson", + "value": 58710, + "unit": "ns/op\t 15096 B/op\t 248 allocs/op", + "extra": "20244 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - ns/op", + "value": 58710, + "unit": "ns/op", + "extra": "20244 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - B/op", + "value": 15096, + "unit": "B/op", + "extra": "20244 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_buffers/ToDagJson - allocs/op", + "value": 248, + "unit": "allocs/op", + "extra": "20244 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader", + "value": 109097, + "unit": "ns/op\t 15126 B/op\t 373 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - ns/op", + "value": 109097, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/FromDagJsonReader - B/op", + "value": 15126, + "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": 55252, + "unit": "ns/op\t 9104 B/op\t 239 allocs/op", + "extra": "20330 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - ns/op", + "value": 55252, + "unit": "ns/op", + "extra": "20330 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - B/op", + "value": 9104, + "unit": "B/op", + "extra": "20330 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/SealWriter - allocs/op", + "value": 239, + "unit": "allocs/op", + "extra": "20330 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader", + "value": 101963, + "unit": "ns/op\t 14229 B/op\t 305 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - ns/op", + "value": 101963, + "unit": "ns/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - B/op", + "value": 14229, + "unit": "B/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/UnsealReader - allocs/op", + "value": 305, + "unit": "allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader", + "value": 57959, + "unit": "ns/op\t 13064 B/op\t 242 allocs/op", + "extra": "20683 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - ns/op", + "value": 57959, + "unit": "ns/op", + "extra": "20683 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - B/op", + "value": 13064, + "unit": "B/op", + "extra": "20683 times\n4 procs" + }, + { + "name": "BenchmarkRoundTrip/via_streaming/ToDagJsonReader - allocs/op", + "value": 242, + "unit": "allocs/op", + "extra": "20683 times\n4 procs" + } + ] } ] }