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.
|PASSED: [[SimpleTest]]: [MySQL] 40,766 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 36,661 pass(es).|
|#7||1470670-drupalcachearray-destruct-invalid.patch||2.57 KB||Damien Tournoud|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1470670-drupalcachearray-destruct-invalid_1.patch. Unable to apply patch. See the log in the details link for more information.|
|#6||xhprof-before.txt||1.3 MB||Damien Tournoud|
|#6||xhprof-after.txt||1.3 MB||Damien Tournoud|