HomePhabricator

perf: add an option to profile the benchmark section

Authored by marmoute.

Description

perf: add an option to profile the benchmark section

Running a perf command with --profile gather data for the whole command
execution, including setup and cleanup. This can significantly alter the data.

To work around this we introduce a new option, it trigger the profiling of only one
iteration of the benchmarked section.

Details

Committed
marmouteMay 21 2019, 9:26 AM
Parents
rHG563cd9a72682: perf: add a `pre-run` option
Branches
Unknown
Tags
Unknown