perf: export also JSON results with external pools benchmark
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 18 Sep 2023 11:40:36 +0000 (13:40 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 18 Sep 2023 11:40:36 +0000 (13:40 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
benchmarks/versus-external-pools/BENCH-100000.json [new file with mode: 0644]
benchmarks/versus-external-pools/hyperfine_benchmarks.sh

diff --git a/benchmarks/versus-external-pools/BENCH-100000.json b/benchmarks/versus-external-pools/BENCH-100000.json
new file mode 100644 (file)
index 0000000..0967ef4
--- /dev/null
@@ -0,0 +1 @@
+{}
index 9b658de97b9383b83db291b0c102f11528f60ed3..507ea91fc4c31098abd37103c513cbd627aaf7f6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-hyperfine --export-markdown BENCH-100000.md --min-runs 20 --prepare 'sleep 5' --warmup 3 --show-output \
+hyperfine --export-markdown BENCH-100000.md --export-json BENCH-100000.json --min-runs 20 --prepare 'sleep 5' --warmup 3 --show-output \
   'node dynamic-poolifier.mjs' \
   'node fixed-poolifier.mjs' \
   'node dynamic-piscina.mjs' \