Show More
@@ -1192,11 +1192,13 b' def perfdirstatewrite(ui, repo, **opts):' | |||||
1192 | ds = repo.dirstate |
|
1192 | ds = repo.dirstate | |
1193 | b"a" in ds |
|
1193 | b"a" in ds | |
1194 |
|
1194 | |||
|
1195 | def setup(): | |||
|
1196 | ds._dirty = True | |||
|
1197 | ||||
1195 | def d(): |
|
1198 | def d(): | |
1196 | ds._dirty = True |
|
|||
1197 | ds.write(repo.currenttransaction()) |
|
1199 | ds.write(repo.currenttransaction()) | |
1198 |
|
1200 | |||
1199 | timer(d) |
|
1201 | timer(d, setup=setup) | |
1200 | fm.end() |
|
1202 | fm.end() | |
1201 |
|
1203 | |||
1202 |
|
1204 |
General Comments 0
You need to be logged in to leave comments.
Login now