##// END OF EJS Templates
perf: add case collision auditor perf
Matt Mackall -
r16386:ccc173d0 default
parent child Browse files
Show More
@@ -133,6 +133,9 b' def perftemplating(ui, repo):'
133 ' {author|person}: {desc|firstline}\n'))
133 ' {author|person}: {desc|firstline}\n'))
134 ui.popbuffer()
134 ui.popbuffer()
135
135
136 def perfcca(ui, repo):
137 timer(lambda: scmutil.casecollisionauditor(ui, False, repo[None]))
138
136 def perfdiffwd(ui, repo):
139 def perfdiffwd(ui, repo):
137 """Profile diff of working directory changes"""
140 """Profile diff of working directory changes"""
138 options = {
141 options = {
@@ -161,6 +164,7 b' def perfrevlog(ui, repo, file_, **opts):'
161 timer(d)
164 timer(d)
162
165
163 cmdtable = {
166 cmdtable = {
167 'perfcca': (perfcca, []),
164 'perflookup': (perflookup, []),
168 'perflookup': (perflookup, []),
165 'perfnodelookup': (perfnodelookup, []),
169 'perfnodelookup': (perfnodelookup, []),
166 'perfparents': (perfparents, []),
170 'perfparents': (perfparents, []),
General Comments 0
You need to be logged in to leave comments. Login now