gecko-dev/python/mozbuild/mozpack
Chris Manchester 666423b6d5 Bug 1241989 - Speed up install manifests by avoiding path operations. r=gps
This is two straightforward optimizations in FileCopier: avoiding a redundant iteration
over the directory structure to find destination files (which includes a
call to normpath) and avoiding redundant calls to determine directories to preserve
when remove_unaccounted is not specified (which include a call to dirname).

Running a no-op install of _tests with this patch results in a reduction of about
25,000 calls to normpath and remove about 220,000 calls to dirname, resulting in
an overall speedup of 10-20%.

--HG--
extra : commitid : 8nyTo489q8X
2016-01-22 13:54:33 -08:00
..
chrome Bug 1232421 - force matching the start of the line for comments, r=glandium 2015-12-14 20:33:57 +00:00
packager Bug 1226884 - Keep em:unpack addons unpacked after bug 1216371. r=gps 2015-11-23 22:40:00 +01:00
test Bug 1241398 - Remove the FilePurger class. r=gps 2016-01-22 07:00:23 +09:00
__init__.py
copier.py Bug 1241989 - Speed up install manifests by avoiding path operations. r=gps 2016-01-22 13:54:33 -08:00
dmg.py bug 935237 - use libdmg-hfsplus to create DMG files during packaging on Linux. r=gps 2015-08-21 15:33:03 -04:00
errors.py Bug 1176642 - Use absolute_import in mozpack; r=glandium 2015-06-25 12:13:55 -07:00
executables.py Bug 1176642 - Use absolute_import in mozpack; r=glandium 2015-06-25 12:13:55 -07:00
files.py Bug 1210642 - Add support for --silence-missing-directive-warnings for preprocessing within install manifests. r=gps 2015-10-06 11:15:06 +09:00
hg.py Bug 1176642 - Use absolute_import in mozpack; r=glandium 2015-06-25 12:13:55 -07:00
manifests.py Bug 1234439 - Add support for files with a given content to install manifests. r=gps 2015-12-24 13:12:24 +09:00
mozjar.py Bug 1207890 - Pre: Make JarWriter handle inputs with read() but not seek(). r=glandium 2015-12-23 16:05:34 -08:00
path.py Bug 1176642 - Use absolute_import in mozpack; r=glandium 2015-06-25 12:13:55 -07:00
unify.py Bug 1176642 - Use absolute_import in mozpack; r=glandium 2015-06-25 12:13:55 -07:00