##// END OF EJS Templates
perf: add a perfbookmarks command...
marmoute -
r32733:2b0a8b0f default
parent child Browse files
Show More
@@ -467,6 +467,16 b' def perfancestorset(ui, repo, revset, **'
467 timer(d)
467 timer(d)
468 fm.end()
468 fm.end()
469
469
470 @command('perfbookmarks', formatteropts)
471 def perfbookmarks(ui, repo, **opts):
472 """benchmark parsing bookmarks from disk to memory"""
473 timer, fm = gettimer(ui, opts)
474 def d():
475 clearfilecache(repo, '_bookmarks')
476 repo._bookmarks
477 timer(d)
478 fm.end()
479
470 @command('perfchangegroupchangelog', formatteropts +
480 @command('perfchangegroupchangelog', formatteropts +
471 [('', 'version', '02', 'changegroup version'),
481 [('', 'version', '02', 'changegroup version'),
472 ('r', 'rev', '', 'revisions to add to changegroup')])
482 ('r', 'rev', '', 'revisions to add to changegroup')])
@@ -51,6 +51,8 b' perfstatus'
51 (no help text available)
51 (no help text available)
52 perfannotate (no help text available)
52 perfannotate (no help text available)
53 perfbdiff benchmark a bdiff between revisions
53 perfbdiff benchmark a bdiff between revisions
54 perfbookmarks
55 benchmark parsing bookmarks from disk to memory
54 perfbranchmap
56 perfbranchmap
55 benchmark the update of a branchmap
57 benchmark the update of a branchmap
56 perfcca (no help text available)
58 perfcca (no help text available)
@@ -122,6 +124,7 b' perfstatus'
122 $ hg perfannotate a
124 $ hg perfannotate a
123 $ hg perfbdiff -c 1
125 $ hg perfbdiff -c 1
124 $ hg perfbdiff --alldata 1
126 $ hg perfbdiff --alldata 1
127 $ hg perfbookmarks
125 $ hg perfbranchmap
128 $ hg perfbranchmap
126 $ hg perfcca
129 $ hg perfcca
127 $ hg perfchangegroupchangelog
130 $ hg perfchangegroupchangelog
General Comments 0
You need to be logged in to leave comments. Login now