#!/bin/bash

# Run hyperfine with parameter lists
# This will create a cross-product of all libraries × all scenarios
hyperfine \
--warmup 3 \
--runs 20 \
-i \
--export-csv      wota_vs_nota_vs_json.csv \
--export-json     wota_vs_nota_vs_json.json \
--export-markdown wota_vs_nota_vs_json.md \
--parameter-list lib  wota,nota,json \
--parameter-list scen empty,integers,floats,strings,objects,nested,large_array \
'cell benchmarks/wota_nota_json {lib} {scen}'


echo "Benchmark complete! Results saved to:"
echo "  - wota_vs_nota_vs_json.csv"
echo "  - wota_vs_nota_vs_json.json"
echo "  - wota_vs_nota_vs_json.md"