Expand description
Results in hyperfine’s --export-json shape.
Projects moving from hyperfine already have scripts that read that file
(aube’s generate-results.js reads mean, stddev, min and max).
Writing the same shape lets them switch the measuring tool without
rewriting what consumes it. bench and subject are extra keys, which
hyperfine consumers ignore; they are what tell entries apart once one file
holds several benchmarks. user and system are omitted because tak does
not measure CPU time. Everything tak adds is an extra key, and none of
hyperfine’s changes meaning: checks is present only for a subject with a
check, version only for one with a version_cmd, allocations only
for one whose heap allocations were counted, and metrics only for one
with custom metrics.
Structs§
- Allocations
- The minimum of each allocation metric over the DHAT runs, as recorded. Counts, so integers rather than the floats the metrics map holds.
- Checks
- How a subject’s timed samples fared against its
check. - Export
- Export
Result - Meta