Show More
@@ -1112,11 +1112,13 b' def perfdirstate(ui, repo, **opts):' | |||
|
1112 | 1112 | timer, fm = gettimer(ui, opts) |
|
1113 | 1113 | b"a" in repo.dirstate |
|
1114 | 1114 | |
|
1115 | def setup(): | |
|
1116 | repo.dirstate.invalidate() | |
|
1117 | ||
|
1115 | 1118 | def d(): |
|
1116 | repo.dirstate.invalidate() | |
|
1117 | 1119 | b"a" in repo.dirstate |
|
1118 | 1120 | |
|
1119 | timer(d) | |
|
1121 | timer(d, setup=setup) | |
|
1120 | 1122 | fm.end() |
|
1121 | 1123 | |
|
1122 | 1124 |
General Comments 0
You need to be logged in to leave comments.
Login now