Show More
@@ -1163,6 +1163,10 def perfdirstatefoldmap(ui, repo, **opts | |||||
1163 |
|
1163 | |||
1164 | @command(b'perfdirfoldmap', formatteropts) |
|
1164 | @command(b'perfdirfoldmap', formatteropts) | |
1165 | def perfdirfoldmap(ui, repo, **opts): |
|
1165 | def perfdirfoldmap(ui, repo, **opts): | |
|
1166 | """benchmap a `dirstate._map.dirfoldmap.get()` request | |||
|
1167 | ||||
|
1168 | The dirstate dirfoldmap cache is dropped between every request. | |||
|
1169 | """ | |||
1166 | opts = _byteskwargs(opts) |
|
1170 | opts = _byteskwargs(opts) | |
1167 | timer, fm = gettimer(ui, opts) |
|
1171 | timer, fm = gettimer(ui, opts) | |
1168 | dirstate = repo.dirstate |
|
1172 | dirstate = repo.dirstate |
@@ -105,7 +105,7 perfstatus | |||||
105 | perfctxfiles (no help text available) |
|
105 | perfctxfiles (no help text available) | |
106 | perfdiffwd Profile diff of working directory changes |
|
106 | perfdiffwd Profile diff of working directory changes | |
107 | perfdirfoldmap |
|
107 | perfdirfoldmap | |
108 | (no help text available) |
|
108 | benchmap a 'dirstate._map.dirfoldmap.get()' request | |
109 | perfdirs (no help text available) |
|
109 | perfdirs (no help text available) | |
110 | perfdirstate benchmap the time necessary to load a dirstate from scratch |
|
110 | perfdirstate benchmap the time necessary to load a dirstate from scratch | |
111 | perfdirstatedirs |
|
111 | perfdirstatedirs |
General Comments 0
You need to be logged in to leave comments.
Login now