Show More
@@ -103,9 +103,10 b' def perfparents(ui, repo):' | |||
|
103 | 103 | def perflookup(ui, repo, rev): |
|
104 | 104 | timer(lambda: len(repo.lookup(rev))) |
|
105 | 105 | |
|
106 | def perflog(ui, repo): | |
|
106 | def perflog(ui, repo, **opts): | |
|
107 | 107 | ui.pushbuffer() |
|
108 |
timer(lambda: commands.log(ui, repo, rev=[], date='', user='' |
|
|
108 | timer(lambda: commands.log(ui, repo, rev=[], date='', user='', | |
|
109 | copies=opts.get('rename'))) | |
|
109 | 110 | ui.popbuffer() |
|
110 | 111 | |
|
111 | 112 | def perftemplating(ui, repo): |
@@ -144,7 +145,8 b' cmdtable = {' | |||
|
144 | 145 | 'perftags': (perftags, []), |
|
145 | 146 | 'perfdirstate': (perfdirstate, []), |
|
146 | 147 | 'perfdirstatedirs': (perfdirstate, []), |
|
147 |
'perflog': (perflog, |
|
|
148 | 'perflog': (perflog, | |
|
149 | [('', 'rename', False, 'ask log to follow renames')]), | |
|
148 | 150 | 'perftemplating': (perftemplating, []), |
|
149 | 151 | 'perfdiffwd': (perfdiffwd, []), |
|
150 | 152 | } |
General Comments 0
You need to be logged in to leave comments.
Login now