##// 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 467 timer(d)
468 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 480 @command('perfchangegroupchangelog', formatteropts +
471 481 [('', 'version', '02', 'changegroup version'),
472 482 ('r', 'rev', '', 'revisions to add to changegroup')])
@@ -51,6 +51,8 b' perfstatus'
51 51 (no help text available)
52 52 perfannotate (no help text available)
53 53 perfbdiff benchmark a bdiff between revisions
54 perfbookmarks
55 benchmark parsing bookmarks from disk to memory
54 56 perfbranchmap
55 57 benchmark the update of a branchmap
56 58 perfcca (no help text available)
@@ -122,6 +124,7 b' perfstatus'
122 124 $ hg perfannotate a
123 125 $ hg perfbdiff -c 1
124 126 $ hg perfbdiff --alldata 1
127 $ hg perfbookmarks
125 128 $ hg perfbranchmap
126 129 $ hg perfcca
127 130 $ hg perfchangegroupchangelog
General Comments 0
You need to be logged in to leave comments. Login now