ocaml-json: add benchmark against the simdjson corpus
Two modes per file:
- [dom] - full DOM parse via [Json.json] (simdjson DOM equivalent)
- [field] - parse + extract one designated top-level field as
[Json.ignore], skipping DOM materialisation of the siblings
(simdjson OnDemand equivalent)
Reports min/median MB/s and per-iteration allocations; memtrace
integration preserved for when [MEMTRACE=...ctf] is set in the
environment.
Run:
dune exec ocaml-json/bench/bench.exe -- /path/to/corpus/*.json