Skip to main content

Module export

Module export 

Source
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.

Structs§

Export
ExportResult

Functions§

write