gecko-dev/python/mozbuild
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
..
dumbmake Bug 1176642 - Use absolute_import in mozbuild; r=glandium 2015-06-21 18:37:18 -07:00
mozbuild Bug 1240120 - Move external-media-tests to subdirectory to generate correct packaging; r=maja_zf,whimboo 2016-01-21 23:00:59 -06:00
mozpack Bug 1241989 - Speed up install manifests by avoiding path operations. r=gps 2016-01-22 13:54:33 -08:00
TODO
setup.py Bug 1172645 - Make mozbuild's setup.py work; r=glandium 2015-06-12 09:37:54 -07:00