зеркало из https://github.com/mozilla/gecko-dev.git
53e3dc9ef2
The regular expression cache for mozpack.path.match was keyed off the original pattern. However, that variable was mutated as part of the function and the mutated result was subsequently stored as the cache key. This effectively resulted in a 0% cache hit rate. On some tests being written for bug 1132111 which involve a full filesystem traversal for moz.build files and subsequent execution of those files, the following timings are indicative of the impact of this patch. Before: real 16.082s user 14.760s sys 1.318s After: real 6.345s user 5.085s sys 1.257s --HG-- extra : rebase_source : caf4a9f37fda9b43b444059f647535e1b085d422 |
||
---|---|---|
.. | ||
bitstring | ||
blessings | ||
configobj | ||
eme | ||
jsmin | ||
lldbutils | ||
mach | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
pyasn1 | ||
pystache | ||
pyyaml | ||
redo | ||
virtualenv | ||
which | ||
README | ||
mach_commands.py | ||
moz.build |
README
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/