perf-report

vb perf-report DIRECTORY [OPTIONS]

Description

Aggregate perf JSON files generated by rt_point() and print a summary.

Typical workflow:

  1. Add paired rt_point() calls around the scopes you want to measure. For example:

rt_point(content hash); hname_hash(…); rt_point(content hash);

The main command entry measures cmd.total automatically.

  1. Run the command with --perf DIR to write one JSON file per run. For example:

%vb ci –perf out %vb changes –perf out

  1. Repeat the same command multiple times if you want comparable samples.

command name and show min/max/avg totals plus min/max/avg for each tag.

%vb perf-report out %vb perf-report out –cmd ci

Options

--cmd CMD

Only report samples for CMD

--export-text Export the aggregate report as text
--export-html Export the aggregate report as HTML
--export-pdf

Export the aggregate report as PDF

Examples