Mercurial > hg
annotate tests/test-contrib-perf.t @ 30442:41a8106789ca
util: implement zstd compression engine
Now that zstd is vendored and being built (in some configurations), we
can implement a compression engine for zstd!
The zstd engine is a little different from existing engines. Because
it may not always be present, we have to defer load the module in case
importing it fails. We facilitate this via a cached property that holds
a reference to the module or None. The "available" method is
implemented to reflect reality.
The zstd engine declares its ability to handle bundles using the
"zstd" human name and the "ZS" internal name. The latter was chosen
because internal names are 2 characters (by only convention I think)
and "ZS" seems reasonable.
The engine, like others, supports specifying the compression level.
However, there are no consumers of this API that yet pass in that
argument. I have plans to change that, so stay tuned.
Since all we need to do to support bundle generation with a new
compression engine is implement and register the compression engine,
bundle generation with zstd "just works!" Tests demonstrating this
have been added.
How does performance of zstd for bundle generation compare? On the
mozilla-unified repo, `hg bundle --all -t <engine>-v2` yields the
following on my i7-6700K on Linux:
engine CPU time bundle size vs orig size throughput
none 97.0s 4,054,405,584 100.0% 41.8 MB/s
bzip2 (l=9) 393.6s 975,343,098 24.0% 10.3 MB/s
gzip (l=6) 184.0s 1,140,533,074 28.1% 22.0 MB/s
zstd (l=1) 108.2s 1,119,434,718 27.6% 37.5 MB/s
zstd (l=2) 111.3s 1,078,328,002 26.6% 36.4 MB/s
zstd (l=3) 113.7s 1,011,823,727 25.0% 35.7 MB/s
zstd (l=4) 116.0s 1,008,965,888 24.9% 35.0 MB/s
zstd (l=5) 121.0s 977,203,148 24.1% 33.5 MB/s
zstd (l=6) 131.7s 927,360,198 22.9% 30.8 MB/s
zstd (l=7) 139.0s 912,808,505 22.5% 29.2 MB/s
zstd (l=12) 198.1s 854,527,714 21.1% 20.5 MB/s
zstd (l=18) 681.6s 789,750,690 19.5% 5.9 MB/s
On compression, zstd for bundle generation delivers:
* better compression than gzip with significantly less CPU utilization
* better than bzip2 compression ratios while still being significantly
faster than gzip
* ability to aggressively tune compression level to achieve
significantly smaller bundles
That last point is important. With clone bundles, a server can
pre-generate a bundle file, upload it to a static file server, and
redirect clients to transparently download it during clone. The server
could choose to produce a zstd bundle with the highest compression
settings possible. This would take a very long time - a magnitude
longer than a typical zstd bundle generation - but the result would
be hundreds of megabytes smaller! For the clone volume we do at
Mozilla, this could translate to petabytes of bandwidth savings
per year and faster clones (due to smaller transfer size).
I don't have detailed numbers to report on decompression. However,
zstd decompression is fast: >1 GB/s output throughput on this machine,
even through the Python bindings. And it can do that regardless of the
compression level of the input. By the time you have enough data to
worry about overhead of decompression, you have plenty of other things
to worry about performance wise.
zstd is wins all around. I can't wait to implement support for it
on the wire protocol and in revlogs.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 11 Nov 2016 01:10:07 -0800 |
parents | 605e3b126d46 |
children | 94ca0e13d1fc |
rev | line source |
---|---|
27315
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
1 #require test-repo |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
2 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
3 Set vars: |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
4 |
29219
3c9066ed557c
tests: silence test-repo obsolete warning
timeless <timeless@mozdev.org>
parents:
27526
diff
changeset
|
5 $ . "$TESTDIR/helpers-testrepo.sh" |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
6 $ CONTRIBDIR="$TESTDIR/../contrib" |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
7 |
27309
b0de270acd17
tests: use a single repo for test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27286
diff
changeset
|
8 Prepare repo: |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
9 |
27309
b0de270acd17
tests: use a single repo for test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27286
diff
changeset
|
10 $ hg init |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
11 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
12 $ echo this is file a > a |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
13 $ hg add a |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
14 $ hg commit -m first |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
15 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
16 $ echo adding to file a >> a |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
17 $ hg commit -m second |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
18 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
19 $ echo adding more to file a >> a |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
20 $ hg commit -m third |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
21 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
22 $ hg up -r 0 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
23 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
24 $ echo merge-this >> a |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
25 $ hg commit -m merge-able |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
26 created new head |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
27 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
28 $ hg up -r 2 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
29 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
30 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
31 perfstatus |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
32 |
27309
b0de270acd17
tests: use a single repo for test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27286
diff
changeset
|
33 $ cat >> $HGRCPATH << EOF |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
34 > [extensions] |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
35 > perfstatusext=$CONTRIBDIR/perf.py |
27315
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
36 > [perf] |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
37 > presleep=0 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
38 > stub=on |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
39 > parentscount=1 |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
40 > EOF |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
41 $ hg help perfstatusext |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
42 perfstatusext extension - helper extension to measure performance |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
43 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
44 list of commands: |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
45 |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
46 perfaddremove |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
47 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
48 perfancestors |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
49 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
50 perfancestorset |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
51 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
52 perfannotate (no help text available) |
30336
7ddc8f8d7712
perf: support bdiffing multiple revisions in a single revlog
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30307
diff
changeset
|
53 perfbdiff benchmark a bdiff between revisions |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
54 perfbranchmap |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
55 benchmark the update of a branchmap |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
56 perfcca (no help text available) |
30018
bd6df07ccc24
perf: add perfchangegroupchangelog command
Gregory Szorc <gregory.szorc@gmail.com>
parents:
29974
diff
changeset
|
57 perfchangegroupchangelog |
bd6df07ccc24
perf: add perfchangegroupchangelog command
Gregory Szorc <gregory.szorc@gmail.com>
parents:
29974
diff
changeset
|
58 Benchmark producing a changelog group for a changegroup. |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
59 perfchangeset |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
60 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
61 perfctxfiles (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
62 perfdiffwd Profile diff of working directory changes |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
63 perfdirfoldmap |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
64 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
65 perfdirs (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
66 perfdirstate (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
67 perfdirstatedirs |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
68 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
69 perfdirstatefoldmap |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
70 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
71 perfdirstatewrite |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
72 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
73 perffncacheencode |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
74 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
75 perffncacheload |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
76 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
77 perffncachewrite |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
78 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
79 perfheads (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
80 perfindex (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
81 perfloadmarkers |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
82 benchmark the time to parse the on-disk markers for a repo |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
83 perflog (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
84 perflookup (no help text available) |
27286
528cf1a73ae5
perf: add perflrucachedict command
Gregory Szorc <gregory.szorc@gmail.com>
parents:
27101
diff
changeset
|
85 perflrucachedict |
528cf1a73ae5
perf: add perflrucachedict command
Gregory Szorc <gregory.szorc@gmail.com>
parents:
27101
diff
changeset
|
86 (no help text available) |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
87 perfmanifest (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
88 perfmergecalculate |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
89 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
90 perfmoonwalk benchmark walking the changelog backwards |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
91 perfnodelookup |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
92 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
93 perfparents (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
94 perfpathcopies |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
95 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
96 perfrawfiles (no help text available) |
27492
ac549d7fbc2b
perf: use standard arguments for perfrevlog
Gregory Szorc <gregory.szorc@gmail.com>
parents:
27470
diff
changeset
|
97 perfrevlog Benchmark reading a series of revisions from a revlog. |
27470
d394a1a3708a
perf: add perfrevlogrevision
Gregory Szorc <gregory.szorc@gmail.com>
parents:
27315
diff
changeset
|
98 perfrevlogrevision |
d394a1a3708a
perf: add perfrevlogrevision
Gregory Szorc <gregory.szorc@gmail.com>
parents:
27315
diff
changeset
|
99 Benchmark obtaining a revlog revision. |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
100 perfrevrange (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
101 perfrevset benchmark the execution time of a revset |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
102 perfstartup (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
103 perfstatus (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
104 perftags (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
105 perftemplating |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
106 (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
107 perfvolatilesets |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
108 benchmark the computation of various volatile set |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
109 perfwalk (no help text available) |
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
110 |
29974
7109d5ddeb0c
help: use single quotes in use warning
timeless <timeless@mozdev.org>
parents:
29571
diff
changeset
|
111 (use 'hg help -v perfstatusext' to show built-in aliases and global options) |
27315
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
112 $ hg perfaddremove |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
113 $ hg perfancestors |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
114 $ hg perfancestorset 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
115 $ hg perfannotate a |
30307
c8fa7ad1ff90
perf: add perfbdiff
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30018
diff
changeset
|
116 $ hg perfbdiff -c 1 |
30426
605e3b126d46
perf: unbust perfbdiff --alldata
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30336
diff
changeset
|
117 $ hg perfbdiff --alldata 1 |
27315
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
118 $ hg perfbranchmap |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
119 $ hg perfcca |
30018
bd6df07ccc24
perf: add perfchangegroupchangelog command
Gregory Szorc <gregory.szorc@gmail.com>
parents:
29974
diff
changeset
|
120 $ hg perfchangegroupchangelog |
27315
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
121 $ hg perfchangeset 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
122 $ hg perfctxfiles 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
123 $ hg perfdiffwd |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
124 $ hg perfdirfoldmap |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
125 $ hg perfdirs |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
126 $ hg perfdirstate |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
127 $ hg perfdirstatedirs |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
128 $ hg perfdirstatefoldmap |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
129 $ hg perfdirstatewrite |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
130 $ hg perffncacheencode |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
131 $ hg perffncacheload |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
132 $ hg perffncachewrite |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
133 $ hg perfheads |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
134 $ hg perfindex |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
135 $ hg perfloadmarkers |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
136 $ hg perflog |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
137 $ hg perflookup 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
138 $ hg perflrucache |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
139 $ hg perfmanifest 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
140 $ hg perfmergecalculate -r 3 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
141 $ hg perfmoonwalk |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
142 $ hg perfnodelookup 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
143 $ hg perfpathcopies 1 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
144 $ hg perfrawfiles 2 |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
145 $ hg perfrevlog .hg/store/data/a.i |
27470
d394a1a3708a
perf: add perfrevlogrevision
Gregory Szorc <gregory.szorc@gmail.com>
parents:
27315
diff
changeset
|
146 $ hg perfrevlogrevision -m 0 |
27315
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
147 $ hg perfrevrange |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
148 $ hg perfrevset 'all()' |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
149 $ hg perfstartup |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
150 $ hg perfstatus |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
151 $ hg perftags |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
152 $ hg perftemplating |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
153 $ hg perfvolatilesets |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
154 $ hg perfwalk |
be48b7559422
tests: drop require slow in test-contrib-perf
timeless <timeless@mozdev.org>
parents:
27309
diff
changeset
|
155 $ hg perfparents |
27101
61fbf5dc12b2
test-contrib-perf: add smoke tests for perf.py
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
156 |
29570
cbd240188e4e
tests: introduce check-perf-code.py to add extra checks on perf.py
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29219
diff
changeset
|
157 Check perf.py for historical portability |
cbd240188e4e
tests: introduce check-perf-code.py to add extra checks on perf.py
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29219
diff
changeset
|
158 |
cbd240188e4e
tests: introduce check-perf-code.py to add extra checks on perf.py
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29219
diff
changeset
|
159 $ cd "$TESTDIR/.." |
cbd240188e4e
tests: introduce check-perf-code.py to add extra checks on perf.py
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29219
diff
changeset
|
160 |
29571
d1a7d9c279bb
tests: check importing modules in perf.py for historical portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29570
diff
changeset
|
161 $ (hg files -r 1.2 glob:mercurial/*.c glob:mercurial/*.py; |
d1a7d9c279bb
tests: check importing modules in perf.py for historical portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29570
diff
changeset
|
162 > hg files -r tip glob:mercurial/*.c glob:mercurial/*.py) | |
d1a7d9c279bb
tests: check importing modules in perf.py for historical portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
29570
diff
changeset
|
163 > "$TESTDIR"/check-perf-code.py contrib/perf.py |