Show More
@@ -1,5 +1,23 b'' | |||||
1 | # perf.py - performance test routines |
|
1 | # perf.py - performance test routines | |
2 |
'''helper extension to measure performance |
|
2 | '''helper extension to measure performance | |
|
3 | ||||
|
4 | Configurations | |||
|
5 | ============== | |||
|
6 | ||||
|
7 | ``perf`` | |||
|
8 | -------- | |||
|
9 | ||||
|
10 | ``all-timing`` | |||
|
11 | When set, additional statistic will be reported for each benchmark: best, | |||
|
12 | worst, median average. If not set only the best timing is reported | |||
|
13 | (default: off). | |||
|
14 | ||||
|
15 | ``presleep`` | |||
|
16 | number of second to wait before any group of run (default: 1) | |||
|
17 | ||||
|
18 | ``stub`` | |||
|
19 | When set, benchmark will only be run once, useful for testing (default: off) | |||
|
20 | ''' | |||
3 |
|
21 | |||
4 | # "historical portability" policy of perf.py: |
|
22 | # "historical portability" policy of perf.py: | |
5 | # |
|
23 | # |
@@ -41,6 +41,24 b' perfstatus' | |||||
41 | $ hg help -e perf |
|
41 | $ hg help -e perf | |
42 | perf extension - helper extension to measure performance |
|
42 | perf extension - helper extension to measure performance | |
43 |
|
43 | |||
|
44 | Configurations | |||
|
45 | ============== | |||
|
46 | ||||
|
47 | "perf" | |||
|
48 | ------ | |||
|
49 | ||||
|
50 | "all-timing" | |||
|
51 | When set, additional statistic will be reported for each benchmark: best, | |||
|
52 | worst, median average. If not set only the best timing is reported | |||
|
53 | (default: off). | |||
|
54 | ||||
|
55 | "presleep" | |||
|
56 | number of second to wait before any group of run (default: 1) | |||
|
57 | ||||
|
58 | "stub" | |||
|
59 | When set, benchmark will only be run once, useful for testing (default: | |||
|
60 | off) | |||
|
61 | ||||
44 | list of commands: |
|
62 | list of commands: | |
45 |
|
63 | |||
46 | perfaddremove |
|
64 | perfaddremove |
General Comments 0
You need to be logged in to leave comments.
Login now