Show More
@@ -1017,6 +1017,14 def perfignore(ui, repo, **opts): | |||
|
1017 | 1017 | (b'', b'rev', b'', b'revision to be looked up (default tip)'), |
|
1018 | 1018 | ] + formatteropts) |
|
1019 | 1019 | def perfindex(ui, repo, **opts): |
|
1020 | """benchmark index creation time followed by a lookup | |
|
1021 | ||
|
1022 | The default is to look `tip` up. Depending on the index implementation, | |
|
1023 | the revision looked up can matters. For example, an implementation | |
|
1024 | scanning the index will have a faster lookup time for `--rev tip` than for | |
|
1025 | `--rev 0`. | |
|
1026 | ||
|
1027 | It is not currently possible to check for lookup of a missing node.""" | |
|
1020 | 1028 | import mercurial.revlog |
|
1021 | 1029 | opts = _byteskwargs(opts) |
|
1022 | 1030 | timer, fm = gettimer(ui, opts) |
@@ -93,7 +93,7 perfstatus | |||
|
93 | 93 | find statistic about potential parameters for the |
|
94 | 94 | 'perftracecopies' |
|
95 | 95 | perfignore benchmark operation related to computing ignore |
|
96 | perfindex (no help text available) | |
|
96 | perfindex benchmark index creation time followed by a lookup | |
|
97 | 97 | perflinelogedits |
|
98 | 98 | (no help text available) |
|
99 | 99 | perfloadmarkers |
General Comments 0
You need to be logged in to leave comments.
Login now