equal
deleted
inserted
replaced
187 "a" in repo.dirstate._dirs |
187 "a" in repo.dirstate._dirs |
188 del repo.dirstate._dirs |
188 del repo.dirstate._dirs |
189 timer(d) |
189 timer(d) |
190 fm.end() |
190 fm.end() |
191 |
191 |
192 @command('perfdirstatefoldmap') |
192 @command('perffilefoldmap') |
193 def perffoldmap(ui, repo): |
193 def perffilefoldmap(ui, repo): |
194 timer, fm = gettimer(ui) |
194 timer, fm = gettimer(ui) |
195 dirstate = repo.dirstate |
195 dirstate = repo.dirstate |
196 'a' in dirstate |
196 'a' in dirstate |
197 def d(): |
197 def d(): |
198 dirstate._foldmap.get('a') |
198 dirstate._filefoldmap.get('a') |
199 del dirstate._foldmap |
199 del dirstate._filefoldmap |
|
200 timer(d) |
|
201 fm.end() |
|
202 |
|
203 @command('perfdirfoldmap') |
|
204 def perfdirfoldmap(ui, repo): |
|
205 timer, fm = gettimer(ui) |
|
206 dirstate = repo.dirstate |
|
207 'a' in dirstate |
|
208 def d(): |
|
209 dirstate._dirfoldmap.get('a') |
|
210 del dirstate._dirfoldmap |
200 del dirstate._dirs |
211 del dirstate._dirs |
201 timer(d) |
212 timer(d) |
202 fm.end() |
213 fm.end() |
203 |
214 |
204 @command('perfdirstatewrite') |
215 @command('perfdirstatewrite') |