Show More
@@ -1128,13 +1128,15 b' def perfdirstatedirs(ui, repo, **opts):' | |||
|
1128 | 1128 | """ |
|
1129 | 1129 | opts = _byteskwargs(opts) |
|
1130 | 1130 | timer, fm = gettimer(ui, opts) |
|
1131 |
b"a" |
|
|
1131 | repo.dirstate.hasdir(b"a") | |
|
1132 | ||
|
1133 | def setup(): | |
|
1134 | del repo.dirstate._map._dirs | |
|
1132 | 1135 | |
|
1133 | 1136 | def d(): |
|
1134 | 1137 | repo.dirstate.hasdir(b"a") |
|
1135 | del repo.dirstate._map._dirs | |
|
1136 | ||
|
1137 | timer(d) | |
|
1138 | ||
|
1139 | timer(d, setup=setup) | |
|
1138 | 1140 | fm.end() |
|
1139 | 1141 | |
|
1140 | 1142 |
General Comments 0
You need to be logged in to leave comments.
Login now