equal
deleted
inserted
replaced
52 worst, median average. If not set only the best timing is reported |
52 worst, median average. If not set only the best timing is reported |
53 (default: off). |
53 (default: off). |
54 |
54 |
55 "presleep" |
55 "presleep" |
56 number of second to wait before any group of runs (default: 1) |
56 number of second to wait before any group of runs (default: 1) |
|
57 |
|
58 "pre-run" |
|
59 number of run to perform before starting measurement. |
57 |
60 |
58 "run-limits" |
61 "run-limits" |
59 Control the number of runs each benchmark will perform. The option value |
62 Control the number of runs each benchmark will perform. The option value |
60 should be a list of '<time>-<numberofrun>' pairs. After each run the |
63 should be a list of '<time>-<numberofrun>' pairs. After each run the |
61 conditions are considered in order with the following logic: |
64 conditions are considered in order with the following logic: |
325 "user": *, (glob) |
328 "user": *, (glob) |
326 "wall": * (glob) |
329 "wall": * (glob) |
327 } |
330 } |
328 ] |
331 ] |
329 |
332 |
|
333 Test pre-run feature |
|
334 -------------------- |
|
335 |
|
336 (perf discovery has some spurious output) |
|
337 |
|
338 $ hg perfdiscovery . --config perf.stub=no --config perf.run-limits='0.000000001-1' --config perf.pre-run=0 |
|
339 ! wall * comb * user * sys * (best of 1) (glob) |
|
340 searching for changes |
|
341 $ hg perfdiscovery . --config perf.stub=no --config perf.run-limits='0.000000001-1' --config perf.pre-run=1 |
|
342 ! wall * comb * user * sys * (best of 1) (glob) |
|
343 searching for changes |
|
344 searching for changes |
|
345 $ hg perfdiscovery . --config perf.stub=no --config perf.run-limits='0.000000001-1' --config perf.pre-run=3 |
|
346 ! wall * comb * user * sys * (best of 1) (glob) |
|
347 searching for changes |
|
348 searching for changes |
|
349 searching for changes |
|
350 searching for changes |
|
351 |
330 Check perf.py for historical portability |
352 Check perf.py for historical portability |
331 ---------------------------------------- |
353 ---------------------------------------- |
332 |
354 |
333 $ cd "$TESTDIR/.." |
355 $ cd "$TESTDIR/.." |
334 |
356 |