mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:47:35 +00:00
LibTest: Add option to run each benchmark several times
This allows to print statistical information (minimum, average, maximum execution time) about benchmark execution.
This commit is contained in:
parent
e76394d96c
commit
b170b46aa5
2 changed files with 31 additions and 6 deletions
|
@ -50,6 +50,7 @@ private:
|
|||
u64 m_testtime = 0;
|
||||
u64 m_benchtime = 0;
|
||||
DeprecatedString m_suite_name;
|
||||
u64 m_benchmark_repetitions = 1;
|
||||
bool m_current_test_case_passed = true;
|
||||
Function<void()> m_setup;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue