2011-10-26 16:25:40 +00:00
|
|
|
# .gitignore - List of filenames git should ignore
|
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# See docs/code-quality/lint/linters/ignorefile.rst for lint-ignore-next-line
|
|
|
|
# syntax.
|
|
|
|
|
2011-10-26 16:25:40 +00:00
|
|
|
# Filenames that should be ignored wherever they appear
|
|
|
|
*~
|
|
|
|
*.pyc
|
|
|
|
*.pyo
|
|
|
|
TAGS
|
|
|
|
tags
|
2024-02-22 04:48:27 +00:00
|
|
|
.DS_Store
|
|
|
|
*.pdb
|
|
|
|
.eslintcache
|
|
|
|
*.gcda
|
|
|
|
*.gcno
|
|
|
|
*.gcov
|
2018-08-21 14:54:44 +00:00
|
|
|
compile_commands.json
|
2020-09-25 13:09:50 +00:00
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore ID generated by idutils.
|
2011-10-26 16:25:40 +00:00
|
|
|
ID
|
2024-02-22 04:48:27 +00:00
|
|
|
|
|
|
|
# Un-ignore id directory (for Indonesian locale)
|
|
|
|
# lint-ignore-next-line: git-only
|
2017-11-22 18:30:55 +00:00
|
|
|
!id/
|
2024-02-22 04:48:27 +00:00
|
|
|
|
|
|
|
# Generated by hg or patch (e.g. revert, failed patch, ...)
|
|
|
|
*.orig
|
|
|
|
*.rej
|
|
|
|
|
2018-11-14 14:15:16 +00:00
|
|
|
# Filesystem temporaries
|
|
|
|
.fuse_hidden*
|
2011-10-26 16:25:40 +00:00
|
|
|
|
Bug 1894160: hgignore: simplify the egginfo pattern; r=sheehan
This lookahead expression prevents the use of more modern and efficient regexp
engine. This slows down "hg status" and other operations.
Since the exception are only about vendored content whose addition is managed by
a script (`match vendor`), that script can deal with this exception by itself,
and it does since the last changeset..
So we drop the exception to unlock various performance improvements for status.
### Why does this improves things?
There improvement can come from different sources:
* Using the "re2" regexp engine to match ignored files and directories provide
a performance boost for vanillia mercurial installation and fs-monitor one in
various cases. To benefit from it, just install the "google-re2" packages and
mercurial will automatically uses it.
* Installing a Mercurial compiled with the Rust extensions unlock the use of a
more efficient code path for status that performs the necessary action in a
smarter and parallel ways, providing a significant boost. These extensions
are available on Linux and MacOs and some distribution have started to enable
them by default.
* Moving to a more modern "dirstate" format. The dirstate tracks the state of
the working copy. For a couple of years, Mercurial has a new format for this
information that is more efficient to read and update and tracks finer
grained information. This allow substantial improvement in the way we run
status. The Rust extensions are required to efficiently using this format.
* Using a pure-rust executable. Mercurial has a pure rust version (called
"rhg") that can handled a limited set of commands. It run without the
overhead of starting and initializing Python providing another very
significant boost to performance… but obviously requiring the Rust code path
to be usable.
### Quick Conclusion of the Benchmarks
(Putting that first for people who just want a quick read.)
* fsmonitor struggle on working copy with many modication,
* Using the "re2" binding from "google-re2" helps, especially for these cases
* On typical mozilla developer machine, the Rust variants match the fsmonitor
performance at worse and exceed it in multiple cases. Especially it does not
stuggle with the "many modification" case.
* On smaller machine, the Rust variants still provide a solid and reliable
performance win accross all operation. That make them preferable to fsmonitor.
* The rust variants matches "git status" performance on equivalement workload.
The pure Rust version significantly outperforms it.
### Benchmarks descriptions
Machines
--------
We ran benchmark on two different machines:
* A i7-7700K 4 physical / 4 logical cores released in Jan 2017
To see performance in "low" parallelism case.
* A i9-9900K 8 physical / 16 logical cores released in October 2019
To see performance in a "high" parallism case.
In both cases the repositories lived in a btrfs file system backed by solid
state disks (ssd or nvme) and the machines had enough ram to keep caches in
memory.
I also ran benchmarks on a more modern i7-1370P release on Jan 2023, and the
results were consistent with the i9-9900K ones.
Variants
--------
Benchmarks were run with multiple variants of Mercurial:
* python-re:
* no Rust extensions used,
* regex engine is the std-lib "re" module.
* fsmonitor is disabled
* using the dirstate-v1 format
* python-re2:
* no Rust extensions used,
* regex engine is the std-lib "re" module.
* fsmonitor is disabled
* using the dirstate-v1 format
* fsmonitor-re:
* no Rust extensions used,
* regex engine is the std-lib "re" module.
* fsmonitor is enabled and working at its best
* using the dirstate-v1 format
* fsmonitor-re2:
* no Rust extensions used,
* regex engine is the std-lib "re" module.
* fsmonitor is enabled and working at its best
* using the dirstate-v1 format
* rust-ds1:
* Rust extensions are used,
* regex engine from the Rust "regexp" crate.
* fsmonitor is disabled
* using the dirstate-v1 format
* rust-ds2:
* Rust extensions are used,
* regex engine from the Rust "regexp" crate.
* fsmonitor is disabled
* using the dirstate-v2 format
* rgh-ds1:
* Pure rust executable is used,
* regex engine from the Rust "regexp" crate.
* fsmonitor is disabled
* using the dirstate-v1 format
* rgh-ds2:
* Pure rust executable is used,
* regex engine from the Rust "regexp" crate.
* fsmonitor is disabled
* using the dirstate-v2 format
Commands
--------
We ran two kind of operations:
* `hg status` with the default output.
This command need to search for ignored and unknown files.
In this case improving the regex engine usually provides significant performance gain.
* `hg status --modified --added --removed --deleted`.
This command only need to check the state of tracked files.
In this case, improving the regex engine does not have much effect, but it
is interesting to compare the performance of the various implementation.
Working copies
--------------
Case 1: pristine-928b0540e421
Working copy parent is 928b0540e421
* 341 759 tracked files
* 21 253 directories
* no untracked files
Case 2: pristine-8f96f8c756ae
Working copy parent is 8f96f8c756ae
(an older changeset I had dirty working copy for)
* 246 855 tracked files
* 15 047 directory
* no untracked files
Case 3: clean-8f96f8c756ae
Working copy parent is 8f96f8c756ae
* 246 855 tracked files
* 23 540 directories
* 79 901 ignored files
Case 4: dirty-8f96f8c756ae
Working copy parent is 8f96f8c756ae
* 246 855 tracked files
* 33 720 directories
* 244 386 clean files
* 1 065 modified files
* 247 added files
* 1 040 removed
* 364 missing files
* 63 455 unknown files
* 79 915 ignored files
### Results Analysis
(full, raw number after this section)
About fsmonitor
---------------
Before diving into the improvements related to regex engine, we can note that
the benchmark show that fsmonitor provides a good boost in the pristine/clean cases, and
a noticeable but disappointing improvement in the very dirty case.
python-re fsmonitor-re
pristine-928b0540e421: 1.884 → 0.293 (-85%)
dirty-8f96f8c756ae: 2.157 → 1.440 (-33%)
Surprisingly when only listing tracked file (during commit for example), fsmonitor actually
get counter productive in the very dirty case
pristine-928b0540e421: 1.313 → 0.297 (-77%)
dirty-8f96f8c756ae: 0.993 → 1.272 (+28%)
In addition to being disappointing in the the very dirty case. The performance
with fsmonitor collapses when fsmonitor cannot use its cache. I observed 4
seconds execution time while setting up the brenchmark..
Improvement without involving Rust:
-----------------------------------
Using the re2 binding from the google-re2 package provides a small improvement
to plain python execution (about 15%). This case is relevant because this is
the one that will be used when fsmonitor cannot help or start.
python-re python-re2
pristine-928b0540e421: 1.884 → 1.650 (-15%)
dirty-8f96f8c756ae: 2.157 → 1.718 (-20%)
It does not make a difference when only listing tracked files as the hgignore is not involved.
python-re python-re2
pristine-928b0540e421: 1.313 → 1.332
dirty-8f96f8c756ae: 0.993 → 0.998
However, surprisingly, it helps fsmonitor quite a lot in in the dirty case
(dirty-8f96f8c756ae). Bringing fsmonitor performance in line with the plain
python one.
fsmonitor-re fsmonitor-re2
list-unknown 1.440 → 1.012 (-30%)
tracked only 1.272 → 0.840 (-34%)
So to conclude being able to use the "re2" regex engine save up to ⅓ of the
runtime of some operation and never slow things down. So that's a good win.
Improvement involving Rust variants:
------------------------------------
For the pristine-928b0540e421 case (all tracked files clean, no ignored files),
Rust provides speed boost "equivalent" (or better) to the one from fsmonitor.
The precise comparison depends of the parallelism level.
With the 4 physical / 4 logical core machine. The Python+Rust version is slower
than fsmonitor, using dirstate-v2 helping to close some of the gap with
fsmonitor. Using dirstate-v2 also allow the "rhg" version to become twice
faster than the fsmonitor version. Also keep in mind that even when a bit
slower, the performance of the rust version will be much more stable than
fsmonitor.
python-re2: 1.650
fsmonitor-re2: 0.296 (-82%)
rust-ds1: 0.542 (-67%)
rust-ds2: 0.368 (-77%)
rhg-ds1: 0.401 (-75%)
rhg-ds2: 0.132 (-92%)
With the 8 physical / 16 physical code machine, the Rust catch up with
fsmonitor performance much quicker. The dirstate-v1 is a little slower, but the
dirstate-v2 version is already faster. The pure rust is always faster.
python-re2: 1.430
fsmonitor-re2: 0.278 (-80%)
rust-ds1: 0.359 (-74%)
rust-ds2: 0.259 (-81%)
rhg-ds1: 0.235 (-83%)
rhg-ds2: 0.052 (-96%)
Talking about parallism. We see that the code scale well, doubling the
number of core bring about twice the performance which is great.
pristine-928b0540e421 4/4 8/16
rhg-ds1: 0.401 → 0.235 (× 1.70)
rhg-ds2: 0.132 → 0.052 (× 2.54)
clean-8f96f8c756ae
rhg-ds1: 0.286 → 0.169 (× 1.70)
rhg-ds2: 0.101 → 0.040 (× 2.52)
dirty-8f96f8c756ae
rhg-ds1: 0.380 → 0.234 (x 1.62)
rhg-ds2: 0.232 → 0.124 (x 1.87)
Comparing with git performance on the pristine-928b0540e421 case also yield
great results. Surprisingly, the variant with a Python overhead still beat (or
match) git performance in this case. The pure Rust executable is always
significantly faster. Below is a comparison grouped by comparable formats.
git status -s: 0.554 (without untracked cache)
rust-ds1: 0.359 (- 35%)
rhg-ds1: 0.235 (- 57%)
git status -s: 0.232 (with untracked cache)
rust-ds2: 0.259 (+ 11%)
rhg-ds2: 0.052 (- 77%)
The clean-8f96f8c756ae case (all tracked clean, many ignored files) show result
result similar to pristine-928b0540e421. "Low" parallism give good gains
without fully matching the fs monitor performance. The High parallism provide
similar performance. In both case we gain the benefit of more stable
performances.
(cores) 4/4 8/16
python-re2: 1.282 | 1.119
fsmonitor-re2: 0.243 (-81%) | 0.225 (-80%)
rust-ds1: 0.416 (-68%) | 0.282 (-75%)
rust-ds2: 0.303 (-76%) | 0.222 (-80%)
rhg-ds1: 0.286 (-78%) | 0.169 (-85%)
rhg-ds2: 0.101 (-92%) | 0.040 (-96%)
Things change quite a lot in the dirty-8f96f8c756ae case, where fsmonitor
struggled. The Rust variants still provides great speedup, significantly
beating the fsmonitor variants for both machines. (comparing to fsmonitor-re
this time)
(cores) 4/4 8/16
fsmonitor-re: 1.440 | 1.501
fsmonitor-re2: 1.012 (-30%) | 1.051 (-30%)
rust-ds1: 0.624 (-56%) | 0.519 (-65%)
rust-ds2: 0.553 (-62%) | 0.483 (-68%)
rhg-ds1: 0.380 (-73%) | 0.234 (-84%)
rhg-ds2: 0.232 (-83%) | 0.124 (-91%)
Things is confirmed in the "listing tracked only" version of dirty-8f96f8c756ae
case were fs monitor was not really improving the situation compared to Python.
(cores) 4/4 8/16
python-re: 0.993 | 0.843076
python-re2: 0.998 | 0.843324
fsmonitor-re: 1.272 (+28%) | 1.291313 (+53%)
fsmonitor-re2: 0.840 (-15%) | 0.844374
rust-ds1: 0.364 (-63%) | 0.273305 (-68%)
rust-ds2: 0.301 (-70%) | 0.233230 (-72%)
rhg-ds1: 0.231 (-77%) | 0.153346 (-82%)
rhg-ds2: 0.099 (-90%) | 0.039545 (-95%)
### Full benchmark numbers for `hg status`
Here are the exhaustive number, all time in seconds.
Case 1: pristine-928b0540e421
(4/4 cores i7-7700K Jan 2017)
python-re: 1.884
python-re2: 1.650
fsmonitor-re: 0.293 (more about 4 second when confused)
fsmonitor-re2: 0.296
rust-ds1: 0.542
rust-ds2: 0.368
rhg-ds1: 0.401
rhg-ds2: 0.132
(8/16 cores i9-9900K CPU October 2018)
python-re: 1.674
python-re2: 1.430
fsmonitor-re: 0.272
fsmonitor-re2: 0.278
rust-ds1: 0.359
rust-ds2: 0.259
rhg-ds1: 0.235
rhg-ds2: 0.052
For reference, I also gathered timing for `git status` on this machine and repo
git status -s: 0.554 (without untracked cache)
git status -s: 0.232 (with untracked cache)
Case 2: pristine-8f96f8c756ae
(4/4 cores i7-7700K)
python-re: 1.306
python-re2: 1.227
fsmonitor-re: 0.243
fsmonitor-re2: 0.242
rust-ds1: 0.416
rust-ds2: 0.308
rhg-ds1: 0.287
rhg-ds2: 0.102
(8/16 cores i9-9900K CPU)
python-re: 1.131
python-re2: 1.076
fsmonitor-re: 0.222
fsmonitor-re2: 0.222
rust-ds1: 0.279
rust-ds2: 0.222
rhg-ds1: 0.168
rhg-ds2: 0.038
Case 3: clean-8f96f8c756ae
(4/4 cores i7-7700K)
python-re: 1.294
python-re2: 1.282
fsmonitor-re: 0.241
fsmonitor-re2: 0.243
rust-ds1: 0.416
rust-ds2: 0.303
rhg-ds1: 0.286
rhg-ds2: 0.101
(8/16 cores i9-9900K CPU)
python-re: 1.170
python-re2: 1.119
fsmonitor-re: 0.224
fsmonitor-re2: 0.225
rust-ds1: 0.282
rust-ds2: 0.222
rhg-ds1: 0.169
rhg-ds2: 0.040
Case 4: dirty-8f96f8c756ae
(4/4 cores i7-7700K)
python-re: 2.157
python-re2: 1.718
fsmonitor-re: 1.440
fsmonitor-re2: 1.012
rust-ds1: 0.624
rust-ds2: 0.553
rhg-ds1: 0.380
rhg-ds2: 0.232
(8/16 cores i9-9900K CPU)
python-re: 2.031
python-re2: 1.560
fsmonitor-re: 1.501
fsmonitor-re2: 1.051
rust-ds1: 0.519
rust-ds2: 0.483
rhg-ds1: 0.234
rhg-ds2: 0.124
### Benchmark numbers for `hg status --modified --added --removed --deleted`
With this invocation, status no longer need to list directory content (or use
cache to skip that step). Status just need to check the known list of tracked
files.
Case 1: pristine-928b0540e421
(4/4 cores i7-7700K CPU)
python-re: 1.313
python-re2: 1.332
fsmonitor-re: 0.297
fsmonitor-re2: 0.296
rust-ds1: 0.455
rust-ds2: 0.369
rhg-ds1: 0.316
rhg-ds2: 0.130
(8/16 cores i9-9900K CPU)
python-re: 1.129
python-re2: 1.133
fsmonitor-re: 0.273
fsmonitor-re2: 0.271
rust-ds1: 0.330
rust-ds2: 0.244
rhg-ds1: 0.207
rhg-ds2: 0.050
For reference, I also gathered timing for `git status` on this machine and repo
git status -s --untracked-files=no: 0.110
Case 2: pristine-8f96f8c756ae
(4/4 cores i7-7700K)
python-re: 0.993
python-re2: 0.987
fsmonitor-re: 0.241
fsmonitor-re2: 0.243
rust-ds1: 0.358
rust-ds2: 0.307
rhg-ds1: 0.228
rhg-ds2: 0.100
(8/16 cores i9-9900K CPU)
python-re: 0.856
python-re2: 0.839
fsmonitor-re: 0.221
fsmonitor-re2: 0.222
rust-ds1: 0.262
rust-ds2: 0.221
rhg-ds1: 0.152
rhg-ds2: 0.038
Case 3: clean-8f96f8c756ae
(4/4 cores i7-7700K)
python-re: 0.973
python-re2: 0.979
fsmonitor-re: 0.242
fsmonitor-re2: 0.242
rust-ds1: 0.357
rust-ds2: 0.304
rhg-ds1: 0.224
rhg-ds2: 0.098
(8/16 cores i9-9900K CPU)
python-re: 0.838
python-re2: 0.837
fsmonitor-re: 0.222
fsmonitor-re2: 0.221
rust-ds1: 0.263
rust-ds2: 0.219
rhg-ds1: 0.152
rhg-ds2: 0.037
Case 4: dirty-8f96f8c756ae
(4/4 cores i7-7700K)
python-re: 0.993
python-re2: 0.998
fsmonitor-re: 1.272
fsmonitor-re2: 0.840
rust-ds1: 0.364
rust-ds2: 0.301
rhg-ds1: 0.231
rhg-ds2: 0.099
(8/16 cores i9-9900K CPU)
python-re: 0.843
python-re2: 0.843
fsmonitor-re: 1.291
fsmonitor-re2: 0.844
rust-ds1: 0.273
rust-ds2: 0.233
rhg-ds1: 0.153
rhg-ds2: 0.040
Differential Revision: https://phabricator.services.mozilla.com/D208966
2024-05-01 14:54:59 +00:00
|
|
|
# Ignore Python .egg-info directories.
|
|
|
|
# This is only relevant for first-party modules, but adding that directory for
|
|
|
|
# third-party packages is dealt with by the script vendoring them.
|
|
|
|
*.egg-info/
|
2021-09-28 14:59:27 +00:00
|
|
|
|
2011-10-26 16:25:40 +00:00
|
|
|
# Vim swap files.
|
|
|
|
.*.sw[a-z]
|
2018-07-16 02:26:13 +00:00
|
|
|
.sw[a-z]
|
2011-10-26 16:25:40 +00:00
|
|
|
|
2014-09-09 21:40:00 +00:00
|
|
|
# Emacs directory variable files.
|
|
|
|
**/.dir-locals.el
|
2020-06-03 19:46:16 +00:00
|
|
|
# Emacs project sentinel files.
|
|
|
|
**/.projectile
|
2014-09-09 21:40:00 +00:00
|
|
|
|
2011-10-26 16:25:40 +00:00
|
|
|
# User files that may appear at the root
|
2022-04-27 09:10:21 +00:00
|
|
|
/.clang-tidy
|
2023-04-23 06:23:39 +00:00
|
|
|
/.clangd
|
2011-11-15 11:57:26 +00:00
|
|
|
/.mozconfig*
|
2020-05-04 10:37:45 +00:00
|
|
|
/mozconfig*
|
2024-02-22 04:48:27 +00:00
|
|
|
/.moz-fast-forward
|
2016-02-25 15:01:55 +00:00
|
|
|
/old-configure
|
2011-11-15 11:57:26 +00:00
|
|
|
/config.cache
|
|
|
|
/config.log
|
2012-05-18 17:55:58 +00:00
|
|
|
/.clang_complete
|
2016-03-28 15:18:24 +00:00
|
|
|
/machrc
|
|
|
|
/.machrc
|
2024-02-22 04:48:27 +00:00
|
|
|
|
2020-07-07 23:41:55 +00:00
|
|
|
# pyenv artifact
|
|
|
|
/.python-version
|
2011-10-26 16:25:40 +00:00
|
|
|
|
|
|
|
# Empty marker file that's generated when we check out NSS
|
|
|
|
security/manager/.nss.checkout
|
|
|
|
|
|
|
|
# Build directories
|
2012-01-26 20:53:56 +00:00
|
|
|
/obj*/
|
2011-10-26 16:25:40 +00:00
|
|
|
|
2017-04-25 14:30:38 +00:00
|
|
|
# gecko.log is generated by various test harnesses
|
|
|
|
/gecko.log
|
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore all node_modules directories except for ones under third_party
|
2023-12-14 18:46:55 +00:00
|
|
|
node_modules/
|
2024-02-22 04:48:27 +00:00
|
|
|
devtools/**/node_modules/
|
|
|
|
tools/browsertime/node_modules/
|
|
|
|
tools/lint/eslint/eslint-plugin-mozilla/node_modules/
|
|
|
|
browser/components/asrouter/node_modules/
|
|
|
|
browser/components/newtab/node_modules/
|
|
|
|
browser/components/aboutwelcome/node_modules/
|
2024-03-15 19:20:45 +00:00
|
|
|
tools/ts/node_modules/
|
2023-12-14 18:46:55 +00:00
|
|
|
|
2019-05-17 16:45:30 +00:00
|
|
|
# Ignore newtab component build assets
|
|
|
|
browser/components/newtab/logs/
|
|
|
|
|
2023-11-28 01:37:38 +00:00
|
|
|
# Ignore about:welcome component build assets
|
|
|
|
browser/components/aboutwelcome/logs/
|
|
|
|
|
2023-12-14 18:46:55 +00:00
|
|
|
# Ignore ASRouter component build assets
|
|
|
|
browser/components/asrouter/logs/
|
|
|
|
|
2023-02-13 18:42:36 +00:00
|
|
|
# Ignore ASRouter generated test files
|
2024-03-02 02:36:24 +00:00
|
|
|
browser/components/asrouter/content-src/schemas/corpus/CFRMessageProvider.messages.json
|
|
|
|
browser/components/asrouter/content-src/schemas/corpus/OnboardingMessageProvider.messages.json
|
|
|
|
browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider.messages.json
|
|
|
|
browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider_toast_notification.messages.json
|
2023-02-13 18:42:36 +00:00
|
|
|
|
2022-01-25 16:11:07 +00:00
|
|
|
# Ignore Pocket component build and dev assets
|
|
|
|
browser/components/pocket/content/panels/css/main.compiled.css.map
|
|
|
|
|
2023-11-28 17:32:48 +00:00
|
|
|
# Ignore downloaded thirdparty build artifacts.
|
|
|
|
toolkit/components/translations/bergamot-translator/thirdparty
|
|
|
|
|
2011-10-26 16:25:40 +00:00
|
|
|
# Build directories for js shell
|
2018-08-20 06:03:00 +00:00
|
|
|
*_DBG.OBJ/
|
|
|
|
*_OPT.OBJ/
|
|
|
|
/js/src/*-obj/
|
|
|
|
/js/src/obj-*/
|
2011-10-26 16:25:40 +00:00
|
|
|
|
|
|
|
# SpiderMonkey configury
|
2016-02-25 15:01:55 +00:00
|
|
|
js/src/old-configure
|
2011-10-26 16:25:40 +00:00
|
|
|
js/src/autom4te.cache
|
2024-02-22 04:48:27 +00:00
|
|
|
|
2011-10-26 16:25:40 +00:00
|
|
|
# SpiderMonkey test result logs
|
|
|
|
js/src/tests/results-*.html
|
|
|
|
js/src/tests/results-*.txt
|
2024-02-22 04:48:27 +00:00
|
|
|
js/src/devtools/rootAnalysis/t/out
|
|
|
|
|
|
|
|
# SpiderMonkey wasm/generate-spectests artifacts
|
|
|
|
js/src/jit-test/etc/wasm/generate-spectests/specs/
|
|
|
|
js/src/jit-test/etc/wasm/generate-spectests/tests/
|
|
|
|
js/src/jit-test/etc/wasm/generate-spectests/target/
|
2011-10-26 16:25:40 +00:00
|
|
|
|
|
|
|
# Java HTML5 parser classes
|
|
|
|
parser/html/java/htmlparser/
|
|
|
|
parser/html/java/javaparser/
|
2020-02-10 15:05:17 +00:00
|
|
|
parser/html/java/javaparser.jar
|
|
|
|
parser/html/java/translator.jar
|
2012-01-16 21:31:44 +00:00
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# SVN directories
|
|
|
|
.svn/
|
|
|
|
|
2012-01-16 21:31:44 +00:00
|
|
|
# Ignore the files and directory that Eclipse IDE creates
|
2012-02-13 22:36:16 +00:00
|
|
|
.project
|
|
|
|
.cproject
|
|
|
|
.settings/
|
2012-09-19 18:20:19 +00:00
|
|
|
|
2016-02-14 00:29:05 +00:00
|
|
|
# Ignore the files and directory that JetBrains IDEs create.
|
2024-03-18 18:26:48 +00:00
|
|
|
**/.idea/
|
2016-02-14 00:29:05 +00:00
|
|
|
*.iml
|
2024-02-22 04:48:27 +00:00
|
|
|
|
2017-07-19 18:08:06 +00:00
|
|
|
# Android Monitor in Android Studio creates a captures/ directory.
|
|
|
|
/captures/
|
2016-02-14 00:29:05 +00:00
|
|
|
|
|
|
|
# Gradle cache.
|
|
|
|
/.gradle/
|
|
|
|
|
|
|
|
# Local Gradle configuration properties.
|
|
|
|
/local.properties
|
|
|
|
|
2013-04-30 07:22:25 +00:00
|
|
|
# Ignore chrome.manifest files from the devtools loader
|
2015-09-21 17:07:31 +00:00
|
|
|
devtools/client/chrome.manifest
|
|
|
|
devtools/shared/chrome.manifest
|
2014-05-08 00:32:00 +00:00
|
|
|
|
2019-02-21 14:56:47 +00:00
|
|
|
# Ignore debugger build directories
|
2019-04-08 14:20:01 +00:00
|
|
|
devtools/client/debugger/assets/build
|
|
|
|
devtools/client/debugger/assets/module-manifest.json
|
2019-02-21 14:56:47 +00:00
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore node_module directories and npm artifacts
|
|
|
|
remote/test/puppeteer/**.tsbuildinfo
|
|
|
|
remote/test/puppeteer/**/lib/
|
|
|
|
remote/test/puppeteer/**/node_modules/
|
|
|
|
remote/test/puppeteer/**/.wireit/
|
|
|
|
remote/test/puppeteer/.devcontainer/
|
|
|
|
remote/test/puppeteer/.github
|
|
|
|
remote/test/puppeteer/.husky
|
|
|
|
remote/test/puppeteer/.wireit/
|
|
|
|
remote/test/puppeteer/coverage/
|
|
|
|
remote/test/puppeteer/docker/
|
|
|
|
remote/test/puppeteer/docs/puppeteer-core.api.json
|
|
|
|
remote/test/puppeteer/docs/puppeteer.api.json
|
|
|
|
remote/test/puppeteer/experimental/
|
|
|
|
remote/test/puppeteer/lib/
|
|
|
|
remote/test/puppeteer/node_modules/
|
|
|
|
remote/test/puppeteer/package-lock.json
|
|
|
|
remote/test/puppeteer/packages/ng-schematics/test/build
|
|
|
|
remote/test/puppeteer/packages/puppeteer/**/README.md
|
|
|
|
remote/test/puppeteer/packages/puppeteer-core/src/generated
|
|
|
|
remote/test/puppeteer/packages/puppeteer-core/**/README.md
|
|
|
|
remote/test/puppeteer/src/generated
|
|
|
|
remote/test/puppeteer/test/build
|
|
|
|
remote/test/puppeteer/test/installation/puppeteer*.tgz
|
|
|
|
remote/test/puppeteer/test/output-firefox
|
|
|
|
remote/test/puppeteer/test/output-chromium
|
|
|
|
remote/test/puppeteer/testserver/lib/
|
|
|
|
remote/test/puppeteer/tools/internal/
|
|
|
|
remote/test/puppeteer/tools/mocha-runner/bin/
|
|
|
|
remote/test/puppeteer/website
|
|
|
|
|
|
|
|
third_party/js/PKI.js/node_modules/
|
|
|
|
third_party/js/PKI.js/package-lock.json
|
|
|
|
|
|
|
|
# git checkout of libstagefright
|
|
|
|
media/libstagefright/android
|
2023-06-19 20:12:38 +00:00
|
|
|
|
2014-05-08 00:32:00 +00:00
|
|
|
# Tag files generated by GNU Global
|
|
|
|
GTAGS
|
|
|
|
GRTAGS
|
|
|
|
GSYMS
|
|
|
|
GPATH
|
2014-09-04 11:52:43 +00:00
|
|
|
|
|
|
|
# Git clone directory for updating web-platform-tests
|
|
|
|
testing/web-platform/sync/
|
2014-12-23 03:49:04 +00:00
|
|
|
|
2017-05-23 12:48:29 +00:00
|
|
|
# Third party metadata for web-platform-tests
|
|
|
|
testing/web-platform/products/
|
|
|
|
|
2014-12-23 03:49:04 +00:00
|
|
|
# Android Gradle artifacts.
|
|
|
|
mobile/android/gradle/.gradle
|
2015-09-30 13:44:48 +00:00
|
|
|
|
2024-03-18 18:26:48 +00:00
|
|
|
# Android build cache
|
|
|
|
mobile/android/**/.build-cache
|
|
|
|
mobile/android/**/.gradle
|
|
|
|
mobile/android/**/build
|
|
|
|
mobile/android/**/bin
|
|
|
|
mobile/android/**/generated
|
|
|
|
|
|
|
|
# Android local.properties
|
2024-03-19 15:07:53 +00:00
|
|
|
mobile/android/**/local.properties
|
2024-03-18 18:26:48 +00:00
|
|
|
|
|
|
|
# Android - Web extensions: manifest.json files are generated
|
2024-03-19 15:07:53 +00:00
|
|
|
mobile/android/**/manifest.json
|
2024-03-18 18:26:48 +00:00
|
|
|
|
2016-03-01 14:18:22 +00:00
|
|
|
# XCode project cruft
|
2017-09-24 20:45:17 +00:00
|
|
|
/*.xcodeproj/
|
2016-03-01 14:18:22 +00:00
|
|
|
|
2018-03-01 22:33:35 +00:00
|
|
|
# Rust/Cargo output from running `cargo` directly
|
2018-03-02 20:02:39 +00:00
|
|
|
/target/
|
2022-09-27 07:38:08 +00:00
|
|
|
/servo/ports/geckolib/target/
|
|
|
|
/dom/base/rust/target/
|
|
|
|
/servo/components/style/target/
|
2023-06-19 20:12:38 +00:00
|
|
|
/dom/webgpu/tests/cts/vendor/target/
|
2018-01-12 15:31:20 +00:00
|
|
|
|
2016-03-01 14:18:22 +00:00
|
|
|
# Ignore mozharness execution files
|
|
|
|
testing/mozharness/.tox/
|
|
|
|
testing/mozharness/build/
|
|
|
|
testing/mozharness/logs/
|
|
|
|
testing/mozharness/.coverage
|
|
|
|
testing/mozharness/nosetests.xml
|
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore tox generated dir
|
|
|
|
.tox/
|
2015-10-13 16:35:42 +00:00
|
|
|
|
|
|
|
# Ignore talos virtualenv and tp5n files.
|
|
|
|
# The tp5n set is supposed to be decompressed at
|
2019-11-25 18:31:36 +00:00
|
|
|
# testing/talos/talos/fis|tests/tp5n in order to run tests like tps
|
2015-10-13 16:35:42 +00:00
|
|
|
# locally. Similarly, running talos requires a Python package virtual
|
|
|
|
# environment. Both the virtual environment and tp5n files end up littering
|
|
|
|
# the status command, so we ignore them.
|
|
|
|
testing/talos/.Python
|
|
|
|
testing/talos/bin/
|
|
|
|
testing/talos/include/
|
|
|
|
testing/talos/lib/
|
2019-11-25 18:31:36 +00:00
|
|
|
testing/talos/talos/fis/tp5n.zip
|
2024-02-22 04:48:27 +00:00
|
|
|
testing/talos/talos/fis/tp5n.tar.gz
|
2019-11-25 18:31:36 +00:00
|
|
|
testing/talos/talos/fis/tp5n
|
2016-03-01 14:18:22 +00:00
|
|
|
testing/talos/talos/tests/tp5n.zip
|
2024-02-22 04:48:27 +00:00
|
|
|
testing/talos/talos/tests/tp5n.tar.gz
|
2016-03-01 14:18:22 +00:00
|
|
|
testing/talos/talos/tests/tp5n
|
2024-04-08 11:47:05 +00:00
|
|
|
testing/talos/talos/tests/pdfpaint/pdfs
|
2016-03-01 14:18:22 +00:00
|
|
|
testing/talos/talos/tests/devtools/damp.manifest.develop
|
2024-02-22 04:48:27 +00:00
|
|
|
testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
|
|
|
|
testing/talos/talos/webextensions/
|
|
|
|
talos-venv
|
|
|
|
py3venv
|
|
|
|
testing/talos/talos/mitmproxy/mitmdump
|
|
|
|
testing/talos/talos/mitmproxy/mitmproxy
|
|
|
|
testing/talos/talos/mitmproxy/mitmweb
|
|
|
|
|
|
|
|
# Ignore talos webkit benchmark files; source is copied from in-tree /third_party
|
|
|
|
# into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
|
|
|
|
# i.e. speedometer, motionmark, stylebench
|
|
|
|
testing/talos/talos/tests/webkit/PerformanceTests
|
2016-04-25 18:28:46 +00:00
|
|
|
|
2017-09-21 19:44:13 +00:00
|
|
|
# Ignore sync tps logs and reports
|
|
|
|
tps.log
|
|
|
|
tps_result.json
|
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore toolchains.json created by tooltool.
|
|
|
|
toolchains.json
|
|
|
|
|
2021-11-02 14:33:49 +00:00
|
|
|
# Unit test
|
|
|
|
.pytest_cache/
|
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ruff
|
|
|
|
.ruff_cache/
|
|
|
|
|
2016-04-25 18:28:46 +00:00
|
|
|
# Ignore files created when running a reftest.
|
|
|
|
lextab.py
|
2016-07-29 17:43:29 +00:00
|
|
|
|
2021-10-18 14:46:13 +00:00
|
|
|
# Ignore Visual Studio/Visual Studio Code workspace files.
|
|
|
|
.vs/
|
2024-05-02 18:26:11 +00:00
|
|
|
.vscode/
|
2022-03-11 15:40:52 +00:00
|
|
|
*.user
|
2021-01-19 00:34:55 +00:00
|
|
|
|
2023-10-25 01:32:19 +00:00
|
|
|
# Thunderbird source tree
|
|
|
|
/comm/
|
|
|
|
|
2021-01-19 00:34:55 +00:00
|
|
|
# Ignore various raptor performance framework files
|
|
|
|
testing/raptor/.raptor-venv
|
|
|
|
testing/raptor/raptor-venv
|
|
|
|
testing/raptor/raptor/tests/json/
|
|
|
|
testing/raptor/webext/raptor/auto_gen_test_config.js
|
2021-11-16 15:09:09 +00:00
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore condprofile build directory
|
|
|
|
testing/condprofile/build
|
|
|
|
|
|
|
|
# Ignore browsertime output directory
|
|
|
|
browsertime-results
|
|
|
|
|
|
|
|
# Ignore the build directories of WebGPU and WebRender standalone builds.
|
|
|
|
gfx/wgpu/target
|
|
|
|
gfx/wgpu/**/build
|
|
|
|
gfx/wr/target/
|
|
|
|
|
|
|
|
# Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
|
|
|
|
taskcluster/docker/image_builder/build-image/target
|
|
|
|
|
2021-11-16 15:09:09 +00:00
|
|
|
# Ignore ICU4X experimentation data files.
|
|
|
|
# See intl/ICU4X.md for more details.
|
|
|
|
config/external/icu4x
|
2022-01-12 17:20:04 +00:00
|
|
|
|
|
|
|
# Ignore the index files generated by clangd.
|
|
|
|
.cache/clangd/index/
|
2022-05-25 18:32:43 +00:00
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore mypy files
|
|
|
|
.mypy_cache/
|
|
|
|
|
2022-05-25 18:32:43 +00:00
|
|
|
# Ignore Storybook generated files
|
|
|
|
browser/components/storybook/node_modules/
|
|
|
|
browser/components/storybook/storybook-static/
|
2023-02-28 05:43:54 +00:00
|
|
|
browser/components/storybook/.storybook/chrome-map.js
|
2023-01-23 23:52:36 +00:00
|
|
|
browser/components/storybook/custom-elements.json
|
2022-07-11 14:55:11 +00:00
|
|
|
|
2024-03-26 16:56:06 +00:00
|
|
|
# Ignore design-system node_modules
|
|
|
|
toolkit/themes/shared/design-system/node_modules/
|
|
|
|
|
2024-03-15 19:20:45 +00:00
|
|
|
# Ignore TypeScript declarations reference file updated by tooling.
|
|
|
|
tools/@types/index.d.ts
|
|
|
|
|
2024-02-22 04:48:27 +00:00
|
|
|
# Ignore support files for en-US dictionary updates
|
|
|
|
extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
|
|
|
|
extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
|
|
|
|
extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*
|
|
|
|
|
2023-04-18 17:20:55 +00:00
|
|
|
# Ignore automatically generated mots documentation
|
|
|
|
docs/mots/index.rst
|
2024-02-22 04:48:27 +00:00
|
|
|
|
|
|
|
# Ignore generated directory with .class files for GeckoView annotation processor
|
|
|
|
mobile/android/annotations/bin/
|
2024-03-19 23:22:51 +00:00
|
|
|
|
|
|
|
# Ignore generated log files under media/libvpx
|
|
|
|
media/libvpx/config/**/config.log
|
2024-09-24 13:36:22 +00:00
|
|
|
|
|
|
|
# Ignore generated files resulting from building the minidump analyzer tests.
|
|
|
|
toolkit/crashreporter/minidump-analyzer/analyzer-test/target/
|