Show More
@@ -99,6 +99,15 b' def perfancestorset(ui, repo, revset):' | |||||
99 | rev in s |
|
99 | rev in s | |
100 | timer(d) |
|
100 | timer(d) | |
101 |
|
101 | |||
|
102 | @command('perfdirs') | |||
|
103 | def perfdirs(ui, repo): | |||
|
104 | dirstate = repo.dirstate | |||
|
105 | 'a' in dirstate | |||
|
106 | def d(): | |||
|
107 | dirstate.dirs() | |||
|
108 | del dirstate._dirs | |||
|
109 | timer(d) | |||
|
110 | ||||
102 | @command('perfdirstate') |
|
111 | @command('perfdirstate') | |
103 | def perfdirstate(ui, repo): |
|
112 | def perfdirstate(ui, repo): | |
104 | "a" in repo.dirstate |
|
113 | "a" in repo.dirstate |
General Comments 0
You need to be logged in to leave comments.
Login now