--- a/contrib/perf.py Tue Apr 10 12:07:14 2012 -0500
+++ b/contrib/perf.py Tue Apr 10 12:07:16 2012 -0500
@@ -133,6 +133,9 @@
' {author|person}: {desc|firstline}\n'))
ui.popbuffer()
+def perfcca(ui, repo):
+ timer(lambda: scmutil.casecollisionauditor(ui, False, repo[None]))
+
def perfdiffwd(ui, repo):
"""Profile diff of working directory changes"""
options = {
@@ -161,6 +164,7 @@
timer(d)
cmdtable = {
+ 'perfcca': (perfcca, []),
'perflookup': (perflookup, []),
'perfnodelookup': (perfnodelookup, []),
'perfparents': (perfparents, []),