Show More
@@ -1017,6 +1017,14 b' def perfignore(ui, repo, **opts):' | |||||
1017 | (b'', b'rev', b'', b'revision to be looked up (default tip)'), |
|
1017 | (b'', b'rev', b'', b'revision to be looked up (default tip)'), | |
1018 | ] + formatteropts) |
|
1018 | ] + formatteropts) | |
1019 | def perfindex(ui, repo, **opts): |
|
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 | import mercurial.revlog |
|
1028 | import mercurial.revlog | |
1021 | opts = _byteskwargs(opts) |
|
1029 | opts = _byteskwargs(opts) | |
1022 | timer, fm = gettimer(ui, opts) |
|
1030 | timer, fm = gettimer(ui, opts) |
@@ -93,7 +93,7 b' perfstatus' | |||||
93 | find statistic about potential parameters for the |
|
93 | find statistic about potential parameters for the | |
94 | 'perftracecopies' |
|
94 | 'perftracecopies' | |
95 | perfignore benchmark operation related to computing ignore |
|
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 | perflinelogedits |
|
97 | perflinelogedits | |
98 | (no help text available) |
|
98 | (no help text available) | |
99 | perfloadmarkers |
|
99 | perfloadmarkers |
General Comments 0
You need to be logged in to leave comments.
Login now