Show More
@@ -1149,13 +1149,15 b' def perfdirstatefoldmap(ui, repo, **opts' | |||||
1149 | opts = _byteskwargs(opts) |
|
1149 | opts = _byteskwargs(opts) | |
1150 | timer, fm = gettimer(ui, opts) |
|
1150 | timer, fm = gettimer(ui, opts) | |
1151 | dirstate = repo.dirstate |
|
1151 | dirstate = repo.dirstate | |
1152 | b'a' in dirstate |
|
1152 | dirstate._map.filefoldmap.get(b'a') | |
|
1153 | ||||
|
1154 | def setup(): | |||
|
1155 | del dirstate._map.filefoldmap | |||
1153 |
|
1156 | |||
1154 | def d(): |
|
1157 | def d(): | |
1155 | dirstate._map.filefoldmap.get(b'a') |
|
1158 | dirstate._map.filefoldmap.get(b'a') | |
1156 | del dirstate._map.filefoldmap |
|
1159 | ||
1157 |
|
1160 | timer(d, setup=setup) | ||
1158 | timer(d) |
|
|||
1159 | fm.end() |
|
1161 | fm.end() | |
1160 |
|
1162 | |||
1161 |
|
1163 |
General Comments 0
You need to be logged in to leave comments.
Login now