Show More
@@ -1142,6 +1142,10 b' def perfdirstatedirs(ui, repo, **opts):' | |||||
1142 |
|
1142 | |||
1143 | @command(b'perfdirstatefoldmap', formatteropts) |
|
1143 | @command(b'perfdirstatefoldmap', formatteropts) | |
1144 | def perfdirstatefoldmap(ui, repo, **opts): |
|
1144 | def perfdirstatefoldmap(ui, repo, **opts): | |
|
1145 | """benchmap a `dirstate._map.filefoldmap.get()` request | |||
|
1146 | ||||
|
1147 | The dirstate filefoldmap cache is dropped between every request. | |||
|
1148 | """ | |||
1145 | opts = _byteskwargs(opts) |
|
1149 | opts = _byteskwargs(opts) | |
1146 | timer, fm = gettimer(ui, opts) |
|
1150 | timer, fm = gettimer(ui, opts) | |
1147 | dirstate = repo.dirstate |
|
1151 | dirstate = repo.dirstate |
@@ -111,7 +111,7 b' perfstatus' | |||||
111 | perfdirstatedirs |
|
111 | perfdirstatedirs | |
112 | benchmap a 'dirstate.hasdir' call from an empty 'dirs' cache |
|
112 | benchmap a 'dirstate.hasdir' call from an empty 'dirs' cache | |
113 | perfdirstatefoldmap |
|
113 | perfdirstatefoldmap | |
114 | (no help text available) |
|
114 | benchmap a 'dirstate._map.filefoldmap.get()' request | |
115 | perfdirstatewrite |
|
115 | perfdirstatewrite | |
116 | (no help text available) |
|
116 | (no help text available) | |
117 | perfdiscovery |
|
117 | perfdiscovery |
General Comments 0
You need to be logged in to leave comments.
Login now