Mercurial > hg
diff tests/test-cappedreader.py @ 42360:3293086ff663
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 21 May 2019 15:26:48 +0200 |
parents | 01e29e885600 |
children | 2372284d9457 |