##// END OF EJS Templates
perf: add perffncacheencode...
Adrian Buehlmann -
r17553:5ab86392 default
parent child Browse files
Show More
@@ -195,6 +195,16 def perffncachewrite(ui, repo):
195 195 s.fncache.write()
196 196 timer(d)
197 197
198 def perffncacheencode(ui, repo):
199 from mercurial import store
200 s = store.store(set(['store','fncache','dotencode']),
201 repo.path, scmutil.opener)
202 s.fncache._load()
203 def d():
204 for p in s.fncache.entries:
205 s.encode(p)
206 timer(d)
207
198 208 def perfdiffwd(ui, repo):
199 209 """Profile diff of working directory changes"""
200 210 options = {
@@ -226,6 +236,7 cmdtable = {
226 236 'perfcca': (perfcca, []),
227 237 'perffncacheload': (perffncacheload, []),
228 238 'perffncachewrite': (perffncachewrite, []),
239 'perffncacheencode': (perffncacheencode, []),
229 240 'perflookup': (perflookup, []),
230 241 'perfrevrange': (perfrevrange, []),
231 242 'perfnodelookup': (perfnodelookup, []),
General Comments 0
You need to be logged in to leave comments. Login now