Show More
@@ -1164,6 +1164,13 b' def perfstartup(ui, repo, **opts):' | |||||
1164 |
|
1164 | |||
1165 | @command(b'perfparents', formatteropts) |
|
1165 | @command(b'perfparents', formatteropts) | |
1166 | def perfparents(ui, repo, **opts): |
|
1166 | def perfparents(ui, repo, **opts): | |
|
1167 | """benchmark the time necessary to fetch one changeset's parents. | |||
|
1168 | ||||
|
1169 | The fetch is done using the `node identifier`, traversing all object layer | |||
|
1170 | from the repository object. The N first revision will be used for this | |||
|
1171 | benchmark. N is controlled by the ``perf.parentscount`` config option | |||
|
1172 | (default: 1000). | |||
|
1173 | """ | |||
1167 | opts = _byteskwargs(opts) |
|
1174 | opts = _byteskwargs(opts) | |
1168 | timer, fm = gettimer(ui, opts) |
|
1175 | timer, fm = gettimer(ui, opts) | |
1169 | # control the number of commits perfparents iterates over |
|
1176 | # control the number of commits perfparents iterates over |
@@ -129,7 +129,7 b' perfstatus' | |||||
129 | (no help text available) |
|
129 | (no help text available) | |
130 | perfnodemap benchmark the time necessary to look up revision from a cold |
|
130 | perfnodemap benchmark the time necessary to look up revision from a cold | |
131 | nodemap |
|
131 | nodemap | |
132 | perfparents (no help text available) |
|
132 | perfparents benchmark the time necessary to fetch one changeset's parents. | |
133 | perfpathcopies |
|
133 | perfpathcopies | |
134 | benchmark the copy tracing logic |
|
134 | benchmark the copy tracing logic | |
135 | perfphases benchmark phasesets computation |
|
135 | perfphases benchmark phasesets computation |
General Comments 0
You need to be logged in to leave comments.
Login now