equal
deleted
inserted
replaced
40 except: |
40 except: |
41 timer(lambda: len(list(cmdutil.walk(repo, pats, {})))) |
41 timer(lambda: len(list(cmdutil.walk(repo, pats, {})))) |
42 |
42 |
43 def perfstatus(ui, repo, *pats): |
43 def perfstatus(ui, repo, *pats): |
44 #m = match.always(repo.root, repo.getcwd()) |
44 #m = match.always(repo.root, repo.getcwd()) |
45 #timer(lambda: sum(map(len, repo.dirstate.status(m, False, False, False)))) |
45 #timer(lambda: sum(map(len, repo.dirstate.status(m, [], False, False, False)))) |
46 timer(lambda: sum(map(len, repo.status()))) |
46 timer(lambda: sum(map(len, repo.status()))) |
47 |
47 |
48 def perfheads(ui, repo): |
48 def perfheads(ui, repo): |
49 timer(lambda: len(repo.changelog.heads())) |
49 timer(lambda: len(repo.changelog.heads())) |
50 |
50 |