Show More
@@ -228,6 +228,11 def perfrevlog(ui, repo, file_, **opts): | |||
|
228 | 228 | |
|
229 | 229 | timer(d) |
|
230 | 230 | |
|
231 | def perfrevset(ui, repo, expr): | |
|
232 | def d(): | |
|
233 | repo.revs(expr) | |
|
234 | timer(d) | |
|
235 | ||
|
231 | 236 | cmdtable = { |
|
232 | 237 | 'perfcca': (perfcca, []), |
|
233 | 238 | 'perffncacheload': (perffncacheload, []), |
@@ -258,4 +263,5 cmdtable = { | |||
|
258 | 263 | 'perfrevlog': (perfrevlog, |
|
259 | 264 | [('d', 'dist', 100, 'distance between the revisions')], |
|
260 | 265 | "[INDEXFILE]"), |
|
266 | 'perfrevset': (perfrevset, [], "REVSET") | |
|
261 | 267 | } |
General Comments 0
You need to be logged in to leave comments.
Login now