Mercurial > hg
annotate contrib/clang-format-ignorelist @ 42121:6578654916ae
branchcache: lazily validate nodes from the branchmap
On my personal hg-repository with 365 entries in .hg/cache/branch2, following
are the numbers for perfbranchmapload.
Before this patch:
! wall 0.000866 comb 0.000000 user 0.000000 sys 0.000000 (best of 2680)
! wall 0.001525 comb 0.000000 user 0.000000 sys 0.000000 (max of 2680)
! wall 0.001107 comb 0.001097 user 0.001086 sys 0.000011 (avg of 2680)
! wall 0.001104 comb 0.000000 user 0.000000 sys 0.000000 (median of 2680)
With this patch:
! wall 0.000530 comb 0.000000 user 0.000000 sys 0.000000 (best of 4240)
! wall 0.001078 comb 0.000000 user 0.000000 sys 0.000000 (max of 4240)
! wall 0.000696 comb 0.000693 user 0.000677 sys 0.000017 (avg of 4240)
! wall 0.000690 comb 0.000000 user 0.000000 sys 0.000000 (median of 4240)
On our internal repository with ~20k entries in branchcache, I see improvement
from 0.125 sec to 0.066 sec which is 47% speed up.
The above are the numbers of perfbranchmapload which shows how much time we
saved by not validating the nodes. But we need to validate some nodes. Following
are timings of some mercurial operations which have speed up because of this
lazy validation of nodes:
No-op `hg update` on our internal repository (Avg on 4 runs):
Before: 0.540 secs
After: 0.430 secs
Setting a branch name which already exists without --force (Avg of 4 runs):
Before: 0.510 secs
After: 0.250 secs
I ran the ASV performance suite and was unable to see any improvements except
there was improvement of perfdirstatewrite() on netbeans which I think was not
related.
I looked into the commit code, the command which I am trying to speedup, it
looks like it uses revbranchcache to update the branchcache.
Differential Revision: https://phab.mercurial-scm.org/D6208
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Mon, 01 Apr 2019 13:56:47 +0300 |
parents | 675775c33ab6 |
children | 69de49c4e39c |
rev | line source |
---|---|
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1 # Files that just need to be migrated to the formatter. |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
2 # Do not add new files here! |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
3 mercurial/cext/dirs.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
4 mercurial/cext/manifest.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
5 mercurial/cext/osutil.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
6 # Vendored code that we should never format: |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
7 contrib/python-zstandard/c-ext/bufferutil.c |
40121
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
8 contrib/python-zstandard/c-ext/compressionchunker.c |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
9 contrib/python-zstandard/c-ext/compressiondict.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
10 contrib/python-zstandard/c-ext/compressionparams.c |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
11 contrib/python-zstandard/c-ext/compressionreader.c |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
12 contrib/python-zstandard/c-ext/compressionwriter.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
13 contrib/python-zstandard/c-ext/compressobj.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
14 contrib/python-zstandard/c-ext/compressor.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
15 contrib/python-zstandard/c-ext/compressoriterator.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
16 contrib/python-zstandard/c-ext/constants.c |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
17 contrib/python-zstandard/c-ext/decompressionreader.c |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
18 contrib/python-zstandard/c-ext/decompressionwriter.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
19 contrib/python-zstandard/c-ext/decompressobj.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
20 contrib/python-zstandard/c-ext/decompressor.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
21 contrib/python-zstandard/c-ext/decompressoriterator.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
22 contrib/python-zstandard/c-ext/frameparams.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
23 contrib/python-zstandard/c-ext/python-zstandard.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
24 contrib/python-zstandard/zstd.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
25 contrib/python-zstandard/zstd/common/bitstream.h |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
26 contrib/python-zstandard/zstd/common/compiler.h |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
27 contrib/python-zstandard/zstd/common/cpu.h |
40121
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
28 contrib/python-zstandard/zstd/common/debug.c |
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
29 contrib/python-zstandard/zstd/common/debug.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
30 contrib/python-zstandard/zstd/common/entropy_common.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
31 contrib/python-zstandard/zstd/common/error_private.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
32 contrib/python-zstandard/zstd/common/error_private.h |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
33 contrib/python-zstandard/zstd/common/fse_decompress.c |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
34 contrib/python-zstandard/zstd/common/fse.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
35 contrib/python-zstandard/zstd/common/huf.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
36 contrib/python-zstandard/zstd/common/mem.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
37 contrib/python-zstandard/zstd/common/pool.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
38 contrib/python-zstandard/zstd/common/pool.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
39 contrib/python-zstandard/zstd/common/threading.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
40 contrib/python-zstandard/zstd/common/threading.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
41 contrib/python-zstandard/zstd/common/xxhash.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
42 contrib/python-zstandard/zstd/common/xxhash.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
43 contrib/python-zstandard/zstd/common/zstd_common.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
44 contrib/python-zstandard/zstd/common/zstd_errors.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
45 contrib/python-zstandard/zstd/common/zstd_internal.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
46 contrib/python-zstandard/zstd/compress/fse_compress.c |
40121
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
47 contrib/python-zstandard/zstd/compress/hist.c |
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
48 contrib/python-zstandard/zstd/compress/hist.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
49 contrib/python-zstandard/zstd/compress/huf_compress.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
50 contrib/python-zstandard/zstd/compress/zstd_compress.c |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
51 contrib/python-zstandard/zstd/compress/zstd_compress_internal.h |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
52 contrib/python-zstandard/zstd/compress/zstd_double_fast.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
53 contrib/python-zstandard/zstd/compress/zstd_double_fast.h |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
54 contrib/python-zstandard/zstd/compress/zstd_fast.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
55 contrib/python-zstandard/zstd/compress/zstd_fast.h |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
56 contrib/python-zstandard/zstd/compress/zstd_lazy.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
57 contrib/python-zstandard/zstd/compress/zstd_lazy.h |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
58 contrib/python-zstandard/zstd/compress/zstd_ldm.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
59 contrib/python-zstandard/zstd/compress/zstd_ldm.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
60 contrib/python-zstandard/zstd/compress/zstdmt_compress.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
61 contrib/python-zstandard/zstd/compress/zstdmt_compress.h |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
62 contrib/python-zstandard/zstd/compress/zstd_opt.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
63 contrib/python-zstandard/zstd/compress/zstd_opt.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
64 contrib/python-zstandard/zstd/decompress/huf_decompress.c |
42070
675775c33ab6
zstandard: vendor python-zstandard 0.11
Gregory Szorc <gregory.szorc@gmail.com>
parents:
40562
diff
changeset
|
65 contrib/python-zstandard/zstd/decompress/zstd_ddict.c |
675775c33ab6
zstandard: vendor python-zstandard 0.11
Gregory Szorc <gregory.szorc@gmail.com>
parents:
40562
diff
changeset
|
66 contrib/python-zstandard/zstd/decompress/zstd_ddict.h |
675775c33ab6
zstandard: vendor python-zstandard 0.11
Gregory Szorc <gregory.szorc@gmail.com>
parents:
40562
diff
changeset
|
67 contrib/python-zstandard/zstd/decompress/zstd_decompress_block.c |
675775c33ab6
zstandard: vendor python-zstandard 0.11
Gregory Szorc <gregory.szorc@gmail.com>
parents:
40562
diff
changeset
|
68 contrib/python-zstandard/zstd/decompress/zstd_decompress_block.h |
675775c33ab6
zstandard: vendor python-zstandard 0.11
Gregory Szorc <gregory.szorc@gmail.com>
parents:
40562
diff
changeset
|
69 contrib/python-zstandard/zstd/decompress/zstd_decompress_internal.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
70 contrib/python-zstandard/zstd/decompress/zstd_decompress.c |
37495
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
71 contrib/python-zstandard/zstd/deprecated/zbuff_common.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
72 contrib/python-zstandard/zstd/deprecated/zbuff_compress.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
73 contrib/python-zstandard/zstd/deprecated/zbuff_decompress.c |
b1fb341d8a61
zstandard: vendor python-zstandard 0.9.0
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37185
diff
changeset
|
74 contrib/python-zstandard/zstd/deprecated/zbuff.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
75 contrib/python-zstandard/zstd/dictBuilder/cover.c |
40121
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
76 contrib/python-zstandard/zstd/dictBuilder/cover.h |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
77 contrib/python-zstandard/zstd/dictBuilder/divsufsort.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
78 contrib/python-zstandard/zstd/dictBuilder/divsufsort.h |
40121
73fef626dae3
zstandard: vendor python-zstandard 0.10.1
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37495
diff
changeset
|
79 contrib/python-zstandard/zstd/dictBuilder/fastcover.c |
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
80 contrib/python-zstandard/zstd/dictBuilder/zdict.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
81 contrib/python-zstandard/zstd/dictBuilder/zdict.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
82 contrib/python-zstandard/zstd/zstd.h |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
83 hgext/fsmonitor/pywatchman/bser.c |
36671
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
84 mercurial/thirdparty/xdiff/xdiff.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
85 mercurial/thirdparty/xdiff/xdiffi.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
86 mercurial/thirdparty/xdiff/xdiffi.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
87 mercurial/thirdparty/xdiff/xemit.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
88 mercurial/thirdparty/xdiff/xemit.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
89 mercurial/thirdparty/xdiff/xhistogram.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
90 mercurial/thirdparty/xdiff/xinclude.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
91 mercurial/thirdparty/xdiff/xmacros.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
92 mercurial/thirdparty/xdiff/xmerge.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
93 mercurial/thirdparty/xdiff/xpatience.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
94 mercurial/thirdparty/xdiff/xprepare.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
95 mercurial/thirdparty/xdiff/xprepare.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
96 mercurial/thirdparty/xdiff/xtypes.h |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
97 mercurial/thirdparty/xdiff/xutils.c |
34e2ff1f9cd8
xdiff: vendor xdiff library from git
Jun Wu <quark@fb.com>
parents:
36227
diff
changeset
|
98 mercurial/thirdparty/xdiff/xutils.h |
37185
027db60ae756
tests: add zope.interface to clang-format ignore list
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37184
diff
changeset
|
99 mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c |