1160 |
1160 |
1161 timer, fm = gettimer(ui, opts) |
1161 timer, fm = gettimer(ui, opts) |
1162 timer(format) |
1162 timer(format) |
1163 fm.end() |
1163 fm.end() |
1164 |
1164 |
1165 @command(b'perfhelper-tracecopies', formatteropts + |
1165 @command(b'perfhelper-pathcopies', formatteropts + |
1166 [ |
1166 [ |
1167 (b'r', b'revs', [], b'restrict search to these revisions'), |
1167 (b'r', b'revs', [], b'restrict search to these revisions'), |
1168 (b'', b'timing', False, b'provides extra data (costly)'), |
1168 (b'', b'timing', False, b'provides extra data (costly)'), |
1169 ]) |
1169 ]) |
1170 def perfhelpertracecopies(ui, repo, revs=[], **opts): |
1170 def perfhelperpathcopies(ui, repo, revs=[], **opts): |
1171 """find statistic about potential parameters for the `perftracecopies` |
1171 """find statistic about potential parameters for the `perftracecopies` |
1172 |
1172 |
1173 This command find source-destination pair relevant for copytracing testing. |
1173 This command find source-destination pair relevant for copytracing testing. |
1174 It report value for some of the parameters that impact copy tracing time. |
1174 It report value for some of the parameters that impact copy tracing time. |
1175 |
1175 |