Show More
@@ -1164,6 +1164,13 b' def perfstartup(ui, repo, **opts):' | |||
|
1164 | 1164 | |
|
1165 | 1165 | @command(b'perfparents', formatteropts) |
|
1166 | 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 | 1174 | opts = _byteskwargs(opts) |
|
1168 | 1175 | timer, fm = gettimer(ui, opts) |
|
1169 | 1176 | # control the number of commits perfparents iterates over |
@@ -129,7 +129,7 b' perfstatus' | |||
|
129 | 129 | (no help text available) |
|
130 | 130 | perfnodemap benchmark the time necessary to look up revision from a cold |
|
131 | 131 | nodemap |
|
132 | perfparents (no help text available) | |
|
132 | perfparents benchmark the time necessary to fetch one changeset's parents. | |
|
133 | 133 | perfpathcopies |
|
134 | 134 | benchmark the copy tracing logic |
|
135 | 135 | perfphases benchmark phasesets computation |
General Comments 0
You need to be logged in to leave comments.
Login now