perf-report¶
vb perf-report DIRECTORY [OPTIONS]
Description¶
Aggregate perf JSON files generated by rt_point() and print a summary.
Typical workflow:
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.
Run the command with
--perf DIRto write one JSON file per run. For example:
%vb ci –perf out %vb changes –perf out
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