Mercurial > hg
comparison tests/test-contrib-perf.t @ 46354:b8d8fd2fe75f
perf: use the `perf--` prefix for perf command
This is the one command namespace where they should not be any ambiguity about
command that should be in it. The perf extensions is only adding performance
related command.
so this is a good ground to start putting dash folding to the tests.
Differential Revision: https://phab.mercurial-scm.org/D9516
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 04 Dec 2020 10:11:01 +0100 |
parents | c2df0bca0dfa |
children | c41ac8985fe4 |
comparison
equal
deleted
inserted
replaced
46341:3b1c0c367606 | 46354:b8d8fd2fe75f |
---|---|
76 When set, benchmarks will only be run once, useful for testing (default: | 76 When set, benchmarks will only be run once, useful for testing (default: |
77 off) | 77 off) |
78 | 78 |
79 list of commands: | 79 list of commands: |
80 | 80 |
81 perfaddremove | 81 perf--addremove |
82 (no help text available) | 82 (no help text available) |
83 perfancestors | 83 perf--ancestors |
84 (no help text available) | 84 (no help text available) |
85 perfancestorset | 85 perf--ancestorset |
86 (no help text available) | 86 (no help text available) |
87 perfannotate (no help text available) | 87 perf--annotate |
88 perfbdiff benchmark a bdiff between revisions | 88 (no help text available) |
89 perfbookmarks | 89 perf--bdiff benchmark a bdiff between revisions |
90 perf--bookmarks | |
90 benchmark parsing bookmarks from disk to memory | 91 benchmark parsing bookmarks from disk to memory |
91 perfbranchmap | 92 perf--branchmap |
92 benchmark the update of a branchmap | 93 benchmark the update of a branchmap |
93 perfbranchmapload | 94 perf--branchmapload |
94 benchmark reading the branchmap | 95 benchmark reading the branchmap |
95 perfbranchmapupdate | 96 perf--branchmapupdate |
96 benchmark branchmap update from for <base> revs to <target> | 97 benchmark branchmap update from for <base> revs to <target> |
97 revs | 98 revs |
98 perfbundleread | 99 perf--bundleread |
99 Benchmark reading of bundle files. | 100 Benchmark reading of bundle files. |
100 perfcca (no help text available) | 101 perf--cca (no help text available) |
101 perfchangegroupchangelog | 102 perf--changegroupchangelog |
102 Benchmark producing a changelog group for a changegroup. | 103 Benchmark producing a changelog group for a changegroup. |
103 perfchangeset | 104 perf--changeset |
104 (no help text available) | 105 (no help text available) |
105 perfctxfiles (no help text available) | 106 perf--ctxfiles |
106 perfdiffwd Profile diff of working directory changes | 107 (no help text available) |
107 perfdirfoldmap | 108 perf--diffwd Profile diff of working directory changes |
109 perf--dirfoldmap | |
108 benchmap a 'dirstate._map.dirfoldmap.get()' request | 110 benchmap a 'dirstate._map.dirfoldmap.get()' request |
109 perfdirs (no help text available) | 111 perf--dirs (no help text available) |
110 perfdirstate benchmap the time of various distate operations | 112 perf--dirstate |
111 perfdirstatedirs | 113 benchmap the time of various distate operations |
114 perf--dirstatedirs | |
112 benchmap a 'dirstate.hasdir' call from an empty 'dirs' cache | 115 benchmap a 'dirstate.hasdir' call from an empty 'dirs' cache |
113 perfdirstatefoldmap | 116 perf--dirstatefoldmap |
114 benchmap a 'dirstate._map.filefoldmap.get()' request | 117 benchmap a 'dirstate._map.filefoldmap.get()' request |
115 perfdirstatewrite | 118 perf--dirstatewrite |
116 benchmap the time it take to write a dirstate on disk | 119 benchmap the time it take to write a dirstate on disk |
117 perfdiscovery | 120 perf--discovery |
118 benchmark discovery between local repo and the peer at given | 121 benchmark discovery between local repo and the peer at given |
119 path | 122 path |
120 perffncacheencode | 123 perf--fncacheencode |
121 (no help text available) | 124 (no help text available) |
122 perffncacheload | 125 perf--fncacheload |
123 (no help text available) | 126 (no help text available) |
124 perffncachewrite | 127 perf--fncachewrite |
125 (no help text available) | 128 (no help text available) |
126 perfheads benchmark the computation of a changelog heads | 129 perf--heads benchmark the computation of a changelog heads |
127 perfhelper-mergecopies | 130 perf--helper-mergecopies |
128 find statistics about potential parameters for | 131 find statistics about potential parameters for |
129 'perfmergecopies' | 132 'perfmergecopies' |
130 perfhelper-pathcopies | 133 perf--helper-pathcopies |
131 find statistic about potential parameters for the | 134 find statistic about potential parameters for the |
132 'perftracecopies' | 135 'perftracecopies' |
133 perfignore benchmark operation related to computing ignore | 136 perf--ignore benchmark operation related to computing ignore |
134 perfindex benchmark index creation time followed by a lookup | 137 perf--index benchmark index creation time followed by a lookup |
135 perflinelogedits | 138 perf--linelogedits |
136 (no help text available) | 139 (no help text available) |
137 perfloadmarkers | 140 perf--loadmarkers |
138 benchmark the time to parse the on-disk markers for a repo | 141 benchmark the time to parse the on-disk markers for a repo |
139 perflog (no help text available) | 142 perf--log (no help text available) |
140 perflookup (no help text available) | 143 perf--lookup (no help text available) |
141 perflrucachedict | 144 perf--lrucachedict |
142 (no help text available) | 145 (no help text available) |
143 perfmanifest benchmark the time to read a manifest from disk and return a | 146 perf--manifest |
147 benchmark the time to read a manifest from disk and return a | |
144 usable | 148 usable |
145 perfmergecalculate | 149 perf--mergecalculate |
146 (no help text available) | 150 (no help text available) |
147 perfmergecopies | 151 perf--mergecopies |
148 measure runtime of 'copies.mergecopies' | 152 measure runtime of 'copies.mergecopies' |
149 perfmoonwalk benchmark walking the changelog backwards | 153 perf--moonwalk |
150 perfnodelookup | 154 benchmark walking the changelog backwards |
151 (no help text available) | 155 perf--nodelookup |
152 perfnodemap benchmark the time necessary to look up revision from a cold | 156 (no help text available) |
157 perf--nodemap | |
158 benchmark the time necessary to look up revision from a cold | |
153 nodemap | 159 nodemap |
154 perfparents benchmark the time necessary to fetch one changeset's parents. | 160 perf--parents |
155 perfpathcopies | 161 benchmark the time necessary to fetch one changeset's parents. |
162 perf--pathcopies | |
156 benchmark the copy tracing logic | 163 benchmark the copy tracing logic |
157 perfphases benchmark phasesets computation | 164 perf--phases benchmark phasesets computation |
158 perfphasesremote | 165 perf--phasesremote |
159 benchmark time needed to analyse phases of the remote server | 166 benchmark time needed to analyse phases of the remote server |
160 perfprogress printing of progress bars | 167 perf--progress |
161 perfrawfiles (no help text available) | 168 printing of progress bars |
162 perfrevlogchunks | 169 perf--rawfiles |
170 (no help text available) | |
171 perf--revlogchunks | |
163 Benchmark operations on revlog chunks. | 172 Benchmark operations on revlog chunks. |
164 perfrevlogindex | 173 perf--revlogindex |
165 Benchmark operations against a revlog index. | 174 Benchmark operations against a revlog index. |
166 perfrevlogrevision | 175 perf--revlogrevision |
167 Benchmark obtaining a revlog revision. | 176 Benchmark obtaining a revlog revision. |
168 perfrevlogrevisions | 177 perf--revlogrevisions |
169 Benchmark reading a series of revisions from a revlog. | 178 Benchmark reading a series of revisions from a revlog. |
170 perfrevlogwrite | 179 perf--revlogwrite |
171 Benchmark writing a series of revisions to a revlog. | 180 Benchmark writing a series of revisions to a revlog. |
172 perfrevrange (no help text available) | 181 perf--revrange |
173 perfrevset benchmark the execution time of a revset | 182 (no help text available) |
174 perfstartup (no help text available) | 183 perf--revset benchmark the execution time of a revset |
175 perfstatus benchmark the performance of a single status call | 184 perf--startup |
176 perftags (no help text available) | 185 (no help text available) |
177 perftemplating | 186 perf--status benchmark the performance of a single status call |
187 perf--tags (no help text available) | |
188 perf--templating | |
178 test the rendering time of a given template | 189 test the rendering time of a given template |
179 perfunidiff benchmark a unified diff between revisions | 190 perf--unidiff |
180 perfvolatilesets | 191 benchmark a unified diff between revisions |
192 perf--volatilesets | |
181 benchmark the computation of various volatile set | 193 benchmark the computation of various volatile set |
182 perfwalk (no help text available) | 194 perf--walk (no help text available) |
183 perfwrite microbenchmark ui.write (and others) | 195 perf--write microbenchmark ui.write (and others) |
184 | 196 |
185 (use 'hg help -v perf' to show built-in aliases and global options) | 197 (use 'hg help -v perf' to show built-in aliases and global options) |
186 $ hg perfaddremove | 198 $ hg perfaddremove |
187 $ hg perfancestors | 199 $ hg perfancestors |
188 $ hg perfancestorset 2 | 200 $ hg perfancestorset 2 |