We rebuild the registry a lot during the installation process, and most of the time in this rebuild is currently spent calling
hash_file() on the content of the files all over again.
I suggest we ignore the files we already have parsed previously in the same request. In my testing, this significantly improves the performance of the installation process (executed through Drush), and it is likely to increase the performance of the automated testing too.
|#6||xhprof-before.txt||1.3 MB||Damien Tournoud|
|#6||xhprof-after.txt||1.3 MB||Damien Tournoud|
|#1||1470656-registry-parse-files-multiple-times.patch||1.96 KB||Damien Tournoud|
PASSED: [[SimpleTest]]: [MySQL] 35,112 pass(es). View