##// END OF EJS Templates
command-namespace: use `::` are the command separator...
marmoute -
r47117:d8ad391e default
parent child Browse files
Show More
@@ -744,7 +744,7 b' def clearchangelog(repo):'
744 744 # perf commands
745 745
746 746
747 @command(b'perf--walk', formatteropts)
747 @command(b'perf::walk|perfwalk', formatteropts)
748 748 def perfwalk(ui, repo, *pats, **opts):
749 749 opts = _byteskwargs(opts)
750 750 timer, fm = gettimer(ui, opts)
@@ -759,7 +759,7 b' def perfwalk(ui, repo, *pats, **opts):'
759 759 fm.end()
760 760
761 761
762 @command(b'perf--annotate', formatteropts)
762 @command(b'perf::annotate|perfannotate', formatteropts)
763 763 def perfannotate(ui, repo, f, **opts):
764 764 opts = _byteskwargs(opts)
765 765 timer, fm = gettimer(ui, opts)
@@ -769,7 +769,7 b' def perfannotate(ui, repo, f, **opts):'
769 769
770 770
771 771 @command(
772 b'perf--status',
772 b'perf::status|perfstatus',
773 773 [
774 774 (b'u', b'unknown', False, b'ask status to look for unknown files'),
775 775 (b'', b'dirstate', False, b'benchmark the internal dirstate call'),
@@ -806,7 +806,7 b' def perfstatus(ui, repo, **opts):'
806 806 fm.end()
807 807
808 808
809 @command(b'perf--addremove', formatteropts)
809 @command(b'perf::addremove|perfaddremove', formatteropts)
810 810 def perfaddremove(ui, repo, **opts):
811 811 opts = _byteskwargs(opts)
812 812 timer, fm = gettimer(ui, opts)
@@ -837,7 +837,7 b' def clearcaches(cl):'
837 837 cl._nodepos = None
838 838
839 839
840 @command(b'perf--heads', formatteropts)
840 @command(b'perf::heads|perfheads', formatteropts)
841 841 def perfheads(ui, repo, **opts):
842 842 """benchmark the computation of a changelog heads"""
843 843 opts = _byteskwargs(opts)
@@ -855,7 +855,7 b' def perfheads(ui, repo, **opts):'
855 855
856 856
857 857 @command(
858 b'perf--tags',
858 b'perf::tags|perftags',
859 859 formatteropts
860 860 + [
861 861 (b'', b'clear-revlogs', False, b'refresh changelog and manifest'),
@@ -880,7 +880,7 b' def perftags(ui, repo, **opts):'
880 880 fm.end()
881 881
882 882
883 @command(b'perf--ancestors', formatteropts)
883 @command(b'perf::ancestors|perfancestors', formatteropts)
884 884 def perfancestors(ui, repo, **opts):
885 885 opts = _byteskwargs(opts)
886 886 timer, fm = gettimer(ui, opts)
@@ -894,7 +894,7 b' def perfancestors(ui, repo, **opts):'
894 894 fm.end()
895 895
896 896
897 @command(b'perf--ancestorset', formatteropts)
897 @command(b'perf::ancestorset|perfancestorset', formatteropts)
898 898 def perfancestorset(ui, repo, revset, **opts):
899 899 opts = _byteskwargs(opts)
900 900 timer, fm = gettimer(ui, opts)
@@ -910,7 +910,7 b' def perfancestorset(ui, repo, revset, **'
910 910 fm.end()
911 911
912 912
913 @command(b'perf--discovery', formatteropts, b'PATH')
913 @command(b'perf::discovery|perfdiscovery', formatteropts, b'PATH')
914 914 def perfdiscovery(ui, repo, path, **opts):
915 915 """benchmark discovery between local repo and the peer at given path"""
916 916 repos = [repo, None]
@@ -928,7 +928,7 b' def perfdiscovery(ui, repo, path, **opts'
928 928
929 929
930 930 @command(
931 b'perf--bookmarks',
931 b'perf::bookmarks|perfbookmarks',
932 932 formatteropts
933 933 + [
934 934 (b'', b'clear-revlogs', False, b'refresh changelog and manifest'),
@@ -953,7 +953,7 b' def perfbookmarks(ui, repo, **opts):'
953 953 fm.end()
954 954
955 955
956 @command(b'perf--bundleread', formatteropts, b'BUNDLE')
956 @command(b'perf::bundleread|perfbundleread', formatteropts, b'BUNDLE')
957 957 def perfbundleread(ui, repo, bundlepath, **opts):
958 958 """Benchmark reading of bundle files.
959 959
@@ -1080,7 +1080,7 b' def perfbundleread(ui, repo, bundlepath,'
1080 1080
1081 1081
1082 1082 @command(
1083 b'perf--changegroupchangelog',
1083 b'perf::changegroupchangelog|perfchangegroupchangelog',
1084 1084 formatteropts
1085 1085 + [
1086 1086 (b'', b'cgversion', b'02', b'changegroup version'),
@@ -1116,7 +1116,7 b' def perfchangegroupchangelog(ui, repo, c'
1116 1116 fm.end()
1117 1117
1118 1118
1119 @command(b'perf--dirs', formatteropts)
1119 @command(b'perf::dirs|perfdirs', formatteropts)
1120 1120 def perfdirs(ui, repo, **opts):
1121 1121 opts = _byteskwargs(opts)
1122 1122 timer, fm = gettimer(ui, opts)
@@ -1132,7 +1132,7 b' def perfdirs(ui, repo, **opts):'
1132 1132
1133 1133
1134 1134 @command(
1135 b'perf--dirstate',
1135 b'perf::dirstate|perfdirstate',
1136 1136 [
1137 1137 (
1138 1138 b'',
@@ -1195,7 +1195,7 b' def perfdirstate(ui, repo, **opts):'
1195 1195 fm.end()
1196 1196
1197 1197
1198 @command(b'perf--dirstatedirs', formatteropts)
1198 @command(b'perf::dirstatedirs|perfdirstatedirs', formatteropts)
1199 1199 def perfdirstatedirs(ui, repo, **opts):
1200 1200 """benchmap a 'dirstate.hasdir' call from an empty `dirs` cache"""
1201 1201 opts = _byteskwargs(opts)
@@ -1212,7 +1212,7 b' def perfdirstatedirs(ui, repo, **opts):'
1212 1212 fm.end()
1213 1213
1214 1214
1215 @command(b'perf--dirstatefoldmap', formatteropts)
1215 @command(b'perf::dirstatefoldmap|perfdirstatefoldmap', formatteropts)
1216 1216 def perfdirstatefoldmap(ui, repo, **opts):
1217 1217 """benchmap a `dirstate._map.filefoldmap.get()` request
1218 1218
@@ -1233,7 +1233,7 b' def perfdirstatefoldmap(ui, repo, **opts'
1233 1233 fm.end()
1234 1234
1235 1235
1236 @command(b'perf--dirfoldmap', formatteropts)
1236 @command(b'perf::dirfoldmap|perfdirfoldmap', formatteropts)
1237 1237 def perfdirfoldmap(ui, repo, **opts):
1238 1238 """benchmap a `dirstate._map.dirfoldmap.get()` request
1239 1239
@@ -1255,7 +1255,7 b' def perfdirfoldmap(ui, repo, **opts):'
1255 1255 fm.end()
1256 1256
1257 1257
1258 @command(b'perf--dirstatewrite', formatteropts)
1258 @command(b'perf::dirstatewrite|perfdirstatewrite', formatteropts)
1259 1259 def perfdirstatewrite(ui, repo, **opts):
1260 1260 """benchmap the time it take to write a dirstate on disk"""
1261 1261 opts = _byteskwargs(opts)
@@ -1297,7 +1297,7 b' def _getmergerevs(repo, opts):'
1297 1297
1298 1298
1299 1299 @command(
1300 b'perf--mergecalculate',
1300 b'perf::mergecalculate|perfmergecalculate',
1301 1301 [
1302 1302 (b'r', b'rev', b'.', b'rev to merge against'),
1303 1303 (b'', b'from', b'', b'rev to merge from'),
@@ -1330,7 +1330,7 b' def perfmergecalculate(ui, repo, **opts)'
1330 1330
1331 1331
1332 1332 @command(
1333 b'perf--mergecopies',
1333 b'perf::mergecopies|perfmergecopies',
1334 1334 [
1335 1335 (b'r', b'rev', b'.', b'rev to merge against'),
1336 1336 (b'', b'from', b'', b'rev to merge from'),
@@ -1353,7 +1353,7 b' def perfmergecopies(ui, repo, **opts):'
1353 1353 fm.end()
1354 1354
1355 1355
1356 @command(b'perf--pathcopies', [], b"REV REV")
1356 @command(b'perf::pathcopies|perfpathcopies', [], b"REV REV")
1357 1357 def perfpathcopies(ui, repo, rev1, rev2, **opts):
1358 1358 """benchmark the copy tracing logic"""
1359 1359 opts = _byteskwargs(opts)
@@ -1369,7 +1369,7 b' def perfpathcopies(ui, repo, rev1, rev2,'
1369 1369
1370 1370
1371 1371 @command(
1372 b'perf--phases',
1372 b'perf::phases|perfphases',
1373 1373 [
1374 1374 (b'', b'full', False, b'include file reading time too'),
1375 1375 ],
@@ -1394,7 +1394,7 b' def perfphases(ui, repo, **opts):'
1394 1394 fm.end()
1395 1395
1396 1396
1397 @command(b'perf--phasesremote', [], b"[DEST]")
1397 @command(b'perf::phasesremote|perfphasesremote', [], b"[DEST]")
1398 1398 def perfphasesremote(ui, repo, dest=None, **opts):
1399 1399 """benchmark time needed to analyse phases of the remote server"""
1400 1400 from mercurial.node import bin
@@ -1455,7 +1455,7 b' def perfphasesremote(ui, repo, dest=None'
1455 1455
1456 1456
1457 1457 @command(
1458 b'perf--manifest',
1458 b'perf::manifest|perfmanifest',
1459 1459 [
1460 1460 (b'm', b'manifest-rev', False, b'Look up a manifest node revision'),
1461 1461 (b'', b'clear-disk', False, b'clear on-disk caches too'),
@@ -1499,7 +1499,7 b' def perfmanifest(ui, repo, rev, manifest'
1499 1499 fm.end()
1500 1500
1501 1501
1502 @command(b'perf--changeset', formatteropts)
1502 @command(b'perf::changeset|perfchangeset', formatteropts)
1503 1503 def perfchangeset(ui, repo, rev, **opts):
1504 1504 opts = _byteskwargs(opts)
1505 1505 timer, fm = gettimer(ui, opts)
@@ -1513,7 +1513,7 b' def perfchangeset(ui, repo, rev, **opts)'
1513 1513 fm.end()
1514 1514
1515 1515
1516 @command(b'perf--ignore', formatteropts)
1516 @command(b'perf::ignore|perfignore', formatteropts)
1517 1517 def perfignore(ui, repo, **opts):
1518 1518 """benchmark operation related to computing ignore"""
1519 1519 opts = _byteskwargs(opts)
@@ -1532,7 +1532,7 b' def perfignore(ui, repo, **opts):'
1532 1532
1533 1533
1534 1534 @command(
1535 b'perf--index',
1535 b'perf::index|perfindex',
1536 1536 [
1537 1537 (b'', b'rev', [], b'revision to be looked up (default tip)'),
1538 1538 (b'', b'no-lookup', None, b'do not revision lookup post creation'),
@@ -1596,7 +1596,7 b' def perfindex(ui, repo, **opts):'
1596 1596
1597 1597
1598 1598 @command(
1599 b'perf--nodemap',
1599 b'perf::nodemap|perfnodemap',
1600 1600 [
1601 1601 (b'', b'rev', [], b'revision to be looked up (default tip)'),
1602 1602 (b'', b'clear-caches', True, b'clear revlog cache between calls'),
@@ -1667,7 +1667,7 b' def perfnodemap(ui, repo, **opts):'
1667 1667 fm.end()
1668 1668
1669 1669
1670 @command(b'perf--startup', formatteropts)
1670 @command(b'perf::startup|perfstartup', formatteropts)
1671 1671 def perfstartup(ui, repo, **opts):
1672 1672 opts = _byteskwargs(opts)
1673 1673 timer, fm = gettimer(ui, opts)
@@ -1685,7 +1685,7 b' def perfstartup(ui, repo, **opts):'
1685 1685 fm.end()
1686 1686
1687 1687
1688 @command(b'perf--parents', formatteropts)
1688 @command(b'perf::parents|perfparents', formatteropts)
1689 1689 def perfparents(ui, repo, **opts):
1690 1690 """benchmark the time necessary to fetch one changeset's parents.
1691 1691
@@ -1712,7 +1712,7 b' def perfparents(ui, repo, **opts):'
1712 1712 fm.end()
1713 1713
1714 1714
1715 @command(b'perf--ctxfiles', formatteropts)
1715 @command(b'perf::ctxfiles|perfctxfiles', formatteropts)
1716 1716 def perfctxfiles(ui, repo, x, **opts):
1717 1717 opts = _byteskwargs(opts)
1718 1718 x = int(x)
@@ -1725,7 +1725,7 b' def perfctxfiles(ui, repo, x, **opts):'
1725 1725 fm.end()
1726 1726
1727 1727
1728 @command(b'perf--rawfiles', formatteropts)
1728 @command(b'perf::rawfiles|perfrawfiles', formatteropts)
1729 1729 def perfrawfiles(ui, repo, x, **opts):
1730 1730 opts = _byteskwargs(opts)
1731 1731 x = int(x)
@@ -1739,7 +1739,7 b' def perfrawfiles(ui, repo, x, **opts):'
1739 1739 fm.end()
1740 1740
1741 1741
1742 @command(b'perf--lookup', formatteropts)
1742 @command(b'perf::lookup|perflookup', formatteropts)
1743 1743 def perflookup(ui, repo, rev, **opts):
1744 1744 opts = _byteskwargs(opts)
1745 1745 timer, fm = gettimer(ui, opts)
@@ -1748,7 +1748,7 b' def perflookup(ui, repo, rev, **opts):'
1748 1748
1749 1749
1750 1750 @command(
1751 b'perf--linelogedits',
1751 b'perf::linelogedits|perflinelogedits',
1752 1752 [
1753 1753 (b'n', b'edits', 10000, b'number of edits'),
1754 1754 (b'', b'max-hunk-lines', 10, b'max lines in a hunk'),
@@ -1786,7 +1786,7 b' def perflinelogedits(ui, **opts):'
1786 1786 fm.end()
1787 1787
1788 1788
1789 @command(b'perf--revrange', formatteropts)
1789 @command(b'perf::revrange|perfrevrange', formatteropts)
1790 1790 def perfrevrange(ui, repo, *specs, **opts):
1791 1791 opts = _byteskwargs(opts)
1792 1792 timer, fm = gettimer(ui, opts)
@@ -1795,7 +1795,7 b' def perfrevrange(ui, repo, *specs, **opt'
1795 1795 fm.end()
1796 1796
1797 1797
1798 @command(b'perf--nodelookup', formatteropts)
1798 @command(b'perf::nodelookup|perfnodelookup', formatteropts)
1799 1799 def perfnodelookup(ui, repo, rev, **opts):
1800 1800 opts = _byteskwargs(opts)
1801 1801 timer, fm = gettimer(ui, opts)
@@ -1814,7 +1814,7 b' def perfnodelookup(ui, repo, rev, **opts'
1814 1814
1815 1815
1816 1816 @command(
1817 b'perf--log',
1817 b'perf::log|perflog',
1818 1818 [(b'', b'rename', False, b'ask log to follow renames')] + formatteropts,
1819 1819 )
1820 1820 def perflog(ui, repo, rev=None, **opts):
@@ -1832,7 +1832,7 b' def perflog(ui, repo, rev=None, **opts):'
1832 1832 fm.end()
1833 1833
1834 1834
1835 @command(b'perf--moonwalk', formatteropts)
1835 @command(b'perf::moonwalk|perfmoonwalk', formatteropts)
1836 1836 def perfmoonwalk(ui, repo, **opts):
1837 1837 """benchmark walking the changelog backwards
1838 1838
@@ -1851,7 +1851,7 b' def perfmoonwalk(ui, repo, **opts):'
1851 1851
1852 1852
1853 1853 @command(
1854 b'perf--templating',
1854 b'perf::templating|perftemplating',
1855 1855 [
1856 1856 (b'r', b'rev', [], b'revisions to run the template on'),
1857 1857 ]
@@ -1941,7 +1941,7 b' def _displaystats(ui, opts, entries, dat'
1941 1941
1942 1942
1943 1943 @command(
1944 b'perf--helper-mergecopies',
1944 b'perf::helper-mergecopies|perfhelper-mergecopies',
1945 1945 formatteropts
1946 1946 + [
1947 1947 (b'r', b'revs', [], b'restrict search to these revisions'),
@@ -2124,7 +2124,7 b' def perfhelpermergecopies(ui, repo, revs'
2124 2124
2125 2125
2126 2126 @command(
2127 b'perf--helper-pathcopies',
2127 b'perf::helper-pathcopies|perfhelper-pathcopies',
2128 2128 formatteropts
2129 2129 + [
2130 2130 (b'r', b'revs', [], b'restrict search to these revisions'),
@@ -2263,7 +2263,7 b' def perfhelperpathcopies(ui, repo, revs='
2263 2263 _displaystats(ui, opts, entries, alldata)
2264 2264
2265 2265
2266 @command(b'perf--cca', formatteropts)
2266 @command(b'perf::cca|perfcca', formatteropts)
2267 2267 def perfcca(ui, repo, **opts):
2268 2268 opts = _byteskwargs(opts)
2269 2269 timer, fm = gettimer(ui, opts)
@@ -2271,7 +2271,7 b' def perfcca(ui, repo, **opts):'
2271 2271 fm.end()
2272 2272
2273 2273
2274 @command(b'perf--fncacheload', formatteropts)
2274 @command(b'perf::fncacheload|perffncacheload', formatteropts)
2275 2275 def perffncacheload(ui, repo, **opts):
2276 2276 opts = _byteskwargs(opts)
2277 2277 timer, fm = gettimer(ui, opts)
@@ -2284,7 +2284,7 b' def perffncacheload(ui, repo, **opts):'
2284 2284 fm.end()
2285 2285
2286 2286
2287 @command(b'perf--fncachewrite', formatteropts)
2287 @command(b'perf::fncachewrite|perffncachewrite', formatteropts)
2288 2288 def perffncachewrite(ui, repo, **opts):
2289 2289 opts = _byteskwargs(opts)
2290 2290 timer, fm = gettimer(ui, opts)
@@ -2304,7 +2304,7 b' def perffncachewrite(ui, repo, **opts):'
2304 2304 fm.end()
2305 2305
2306 2306
2307 @command(b'perf--fncacheencode', formatteropts)
2307 @command(b'perf::fncacheencode|perffncacheencode', formatteropts)
2308 2308 def perffncacheencode(ui, repo, **opts):
2309 2309 opts = _byteskwargs(opts)
2310 2310 timer, fm = gettimer(ui, opts)
@@ -2348,7 +2348,7 b' def _manifestrevision(repo, mnode):'
2348 2348
2349 2349
2350 2350 @command(
2351 b'perf--bdiff',
2351 b'perf::bdiff|perfbdiff',
2352 2352 revlogopts
2353 2353 + formatteropts
2354 2354 + [
@@ -2464,7 +2464,7 b' def perfbdiff(ui, repo, file_, rev=None,'
2464 2464
2465 2465
2466 2466 @command(
2467 b'perf--unidiff',
2467 b'perf::unidiff|perfunidiff',
2468 2468 revlogopts
2469 2469 + formatteropts
2470 2470 + [
@@ -2543,7 +2543,7 b' def perfunidiff(ui, repo, file_, rev=Non'
2543 2543 fm.end()
2544 2544
2545 2545
2546 @command(b'perf--diffwd', formatteropts)
2546 @command(b'perf::diffwd|perfdiffwd', formatteropts)
2547 2547 def perfdiffwd(ui, repo, **opts):
2548 2548 """Profile diff of working directory changes"""
2549 2549 opts = _byteskwargs(opts)
@@ -2568,7 +2568,11 b' def perfdiffwd(ui, repo, **opts):'
2568 2568 fm.end()
2569 2569
2570 2570
2571 @command(b'perf--revlogindex', revlogopts + formatteropts, b'-c|-m|FILE')
2571 @command(
2572 b'perf::revlogindex|perfrevlogindex',
2573 revlogopts + formatteropts,
2574 b'-c|-m|FILE',
2575 )
2572 2576 def perfrevlogindex(ui, repo, file_=None, **opts):
2573 2577 """Benchmark operations against a revlog index.
2574 2578
@@ -2704,7 +2708,7 b' def perfrevlogindex(ui, repo, file_=None'
2704 2708
2705 2709
2706 2710 @command(
2707 b'perf--revlogrevisions',
2711 b'perf::revlogrevisions|perfrevlogrevisions',
2708 2712 revlogopts
2709 2713 + formatteropts
2710 2714 + [
@@ -2754,7 +2758,7 b' def perfrevlogrevisions('
2754 2758
2755 2759
2756 2760 @command(
2757 b'perf--revlogwrite',
2761 b'perf::revlogwrite|perfrevlogwrite',
2758 2762 revlogopts
2759 2763 + formatteropts
2760 2764 + [
@@ -3047,7 +3051,7 b' def _temprevlog(ui, orig, truncaterev):'
3047 3051
3048 3052
3049 3053 @command(
3050 b'perf--revlogchunks',
3054 b'perf::revlogchunks|perfrevlogchunks',
3051 3055 revlogopts
3052 3056 + formatteropts
3053 3057 + [
@@ -3176,7 +3180,7 b' def perfrevlogchunks(ui, repo, file_=Non'
3176 3180
3177 3181
3178 3182 @command(
3179 b'perf--revlogrevision',
3183 b'perf::revlogrevision|perfrevlogrevision',
3180 3184 revlogopts
3181 3185 + formatteropts
3182 3186 + [(b'', b'cache', False, b'use caches instead of clearing')],
@@ -3319,7 +3323,7 b' def perfrevlogrevision(ui, repo, file_, '
3319 3323
3320 3324
3321 3325 @command(
3322 b'perf--revset',
3326 b'perf::revset|perfrevset',
3323 3327 [
3324 3328 (b'C', b'clear', False, b'clear volatile cache between each call.'),
3325 3329 (b'', b'contexts', False, b'obtain changectx for each revision'),
@@ -3352,7 +3356,7 b' def perfrevset(ui, repo, expr, clear=Fal'
3352 3356
3353 3357
3354 3358 @command(
3355 b'perf--volatilesets',
3359 b'perf::volatilesets|perfvolatilesets',
3356 3360 [
3357 3361 (b'', b'clear-obsstore', False, b'drop obsstore between each call.'),
3358 3362 ]
@@ -3401,7 +3405,7 b' def perfvolatilesets(ui, repo, *names, *'
3401 3405
3402 3406
3403 3407 @command(
3404 b'perf--branchmap',
3408 b'perf::branchmap|perfbranchmap',
3405 3409 [
3406 3410 (b'f', b'full', False, b'Includes build time of subset'),
3407 3411 (
@@ -3492,7 +3496,7 b' def perfbranchmap(ui, repo, *filternames'
3492 3496
3493 3497
3494 3498 @command(
3495 b'perf--branchmapupdate',
3499 b'perf::branchmapupdate|perfbranchmapupdate',
3496 3500 [
3497 3501 (b'', b'base', [], b'subset of revision to start from'),
3498 3502 (b'', b'target', [], b'subset of revision to end with'),
@@ -3602,7 +3606,7 b' def perfbranchmapupdate(ui, repo, base=('
3602 3606
3603 3607
3604 3608 @command(
3605 b'perf--branchmapload',
3609 b'perf::branchmapload|perfbranchmapload',
3606 3610 [
3607 3611 (b'f', b'filter', b'', b'Specify repoview filter'),
3608 3612 (b'', b'list', False, b'List brachmap filter caches'),
@@ -3661,7 +3665,7 b' def perfbranchmapload(ui, repo, filter=b'
3661 3665 fm.end()
3662 3666
3663 3667
3664 @command(b'perf--loadmarkers')
3668 @command(b'perf::loadmarkers|perfloadmarkers')
3665 3669 def perfloadmarkers(ui, repo):
3666 3670 """benchmark the time to parse the on-disk markers for a repo
3667 3671
@@ -3673,7 +3677,7 b' def perfloadmarkers(ui, repo):'
3673 3677
3674 3678
3675 3679 @command(
3676 b'perf--lrucachedict',
3680 b'perf::lrucachedict|perflrucachedict',
3677 3681 formatteropts
3678 3682 + [
3679 3683 (b'', b'costlimit', 0, b'maximum total cost of items in cache'),
@@ -3829,7 +3833,7 b' def perflrucache('
3829 3833
3830 3834
3831 3835 @command(
3832 b'perf--write',
3836 b'perf::write|perfwrite',
3833 3837 formatteropts
3834 3838 + [
3835 3839 (b'', b'write-method', b'write', b'ui write method'),
@@ -3892,7 +3896,7 b' def uisetup(ui):'
3892 3896
3893 3897
3894 3898 @command(
3895 b'perf--progress',
3899 b'perf::progress|perfprogress',
3896 3900 formatteropts
3897 3901 + [
3898 3902 (b'', b'topic', b'topic', b'topic for progress messages'),
@@ -78,126 +78,126 b' perfstatus'
78 78
79 79 list of commands:
80 80
81 perf--addremove
81 perf::addremove
82 82 (no help text available)
83 perf--ancestors
83 perf::ancestors
84 84 (no help text available)
85 perf--ancestorset
85 perf::ancestorset
86 86 (no help text available)
87 perf--annotate
87 perf::annotate
88 88 (no help text available)
89 perf--bdiff benchmark a bdiff between revisions
90 perf--bookmarks
89 perf::bdiff benchmark a bdiff between revisions
90 perf::bookmarks
91 91 benchmark parsing bookmarks from disk to memory
92 perf--branchmap
92 perf::branchmap
93 93 benchmark the update of a branchmap
94 perf--branchmapload
94 perf::branchmapload
95 95 benchmark reading the branchmap
96 perf--branchmapupdate
96 perf::branchmapupdate
97 97 benchmark branchmap update from for <base> revs to <target>
98 98 revs
99 perf--bundleread
99 perf::bundleread
100 100 Benchmark reading of bundle files.
101 perf--cca (no help text available)
102 perf--changegroupchangelog
101 perf::cca (no help text available)
102 perf::changegroupchangelog
103 103 Benchmark producing a changelog group for a changegroup.
104 perf--changeset
104 perf::changeset
105 105 (no help text available)
106 perf--ctxfiles
106 perf::ctxfiles
107 107 (no help text available)
108 perf--diffwd Profile diff of working directory changes
109 perf--dirfoldmap
108 perf::diffwd Profile diff of working directory changes
109 perf::dirfoldmap
110 110 benchmap a 'dirstate._map.dirfoldmap.get()' request
111 perf--dirs (no help text available)
112 perf--dirstate
111 perf::dirs (no help text available)
112 perf::dirstate
113 113 benchmap the time of various distate operations
114 perf--dirstatedirs
114 perf::dirstatedirs
115 115 benchmap a 'dirstate.hasdir' call from an empty 'dirs' cache
116 perf--dirstatefoldmap
116 perf::dirstatefoldmap
117 117 benchmap a 'dirstate._map.filefoldmap.get()' request
118 perf--dirstatewrite
118 perf::dirstatewrite
119 119 benchmap the time it take to write a dirstate on disk
120 perf--discovery
120 perf::discovery
121 121 benchmark discovery between local repo and the peer at given
122 122 path
123 perf--fncacheencode
123 perf::fncacheencode
124 124 (no help text available)
125 perf--fncacheload
125 perf::fncacheload
126 126 (no help text available)
127 perf--fncachewrite
127 perf::fncachewrite
128 128 (no help text available)
129 perf--heads benchmark the computation of a changelog heads
130 perf--helper-mergecopies
129 perf::heads benchmark the computation of a changelog heads
130 perf::helper-mergecopies
131 131 find statistics about potential parameters for
132 132 'perfmergecopies'
133 perf--helper-pathcopies
133 perf::helper-pathcopies
134 134 find statistic about potential parameters for the
135 135 'perftracecopies'
136 perf--ignore benchmark operation related to computing ignore
137 perf--index benchmark index creation time followed by a lookup
138 perf--linelogedits
136 perf::ignore benchmark operation related to computing ignore
137 perf::index benchmark index creation time followed by a lookup
138 perf::linelogedits
139 139 (no help text available)
140 perf--loadmarkers
140 perf::loadmarkers
141 141 benchmark the time to parse the on-disk markers for a repo
142 perf--log (no help text available)
143 perf--lookup (no help text available)
144 perf--lrucachedict
142 perf::log (no help text available)
143 perf::lookup (no help text available)
144 perf::lrucachedict
145 145 (no help text available)
146 perf--manifest
146 perf::manifest
147 147 benchmark the time to read a manifest from disk and return a
148 148 usable
149 perf--mergecalculate
149 perf::mergecalculate
150 150 (no help text available)
151 perf--mergecopies
151 perf::mergecopies
152 152 measure runtime of 'copies.mergecopies'
153 perf--moonwalk
153 perf::moonwalk
154 154 benchmark walking the changelog backwards
155 perf--nodelookup
155 perf::nodelookup
156 156 (no help text available)
157 perf--nodemap
157 perf::nodemap
158 158 benchmark the time necessary to look up revision from a cold
159 159 nodemap
160 perf--parents
160 perf::parents
161 161 benchmark the time necessary to fetch one changeset's parents.
162 perf--pathcopies
162 perf::pathcopies
163 163 benchmark the copy tracing logic
164 perf--phases benchmark phasesets computation
165 perf--phasesremote
164 perf::phases benchmark phasesets computation
165 perf::phasesremote
166 166 benchmark time needed to analyse phases of the remote server
167 perf--progress
167 perf::progress
168 168 printing of progress bars
169 perf--rawfiles
169 perf::rawfiles
170 170 (no help text available)
171 perf--revlogchunks
171 perf::revlogchunks
172 172 Benchmark operations on revlog chunks.
173 perf--revlogindex
173 perf::revlogindex
174 174 Benchmark operations against a revlog index.
175 perf--revlogrevision
175 perf::revlogrevision
176 176 Benchmark obtaining a revlog revision.
177 perf--revlogrevisions
177 perf::revlogrevisions
178 178 Benchmark reading a series of revisions from a revlog.
179 perf--revlogwrite
179 perf::revlogwrite
180 180 Benchmark writing a series of revisions to a revlog.
181 perf--revrange
181 perf::revrange
182 182 (no help text available)
183 perf--revset benchmark the execution time of a revset
184 perf--startup
183 perf::revset benchmark the execution time of a revset
184 perf::startup
185 185 (no help text available)
186 perf--status benchmark the performance of a single status call
187 perf--tags (no help text available)
188 perf--templating
186 perf::status benchmark the performance of a single status call
187 perf::tags (no help text available)
188 perf::templating
189 189 test the rendering time of a given template
190 perf--unidiff
190 perf::unidiff
191 191 benchmark a unified diff between revisions
192 perf--volatilesets
192 perf::volatilesets
193 193 benchmark the computation of various volatile set
194 perf--walk (no help text available)
195 perf--write microbenchmark ui.write (and others)
194 perf::walk (no help text available)
195 perf::write microbenchmark ui.write (and others)
196 196
197 197 (use 'hg help -v perf' to show built-in aliases and global options)
198 198
199 199 $ hg help perfaddremove
200 hg perf--addremove
200 hg perf::addremove
201 201
202 202 aliases: perfaddremove
203 203
General Comments 0
You need to be logged in to leave comments. Login now