sebastianbergmann/phpunit — pull request #1017 by TomCan (2013-10-04 21:14:07+00:00)
Title: #1007 added caching to prevent duplicate directory scanning

Some of the classes passed to addDirectoryContainingClassToPHPUnitFilesList in PHPUnit_Util_GlobalState::phpunitFiles() can resolve to the same directory. If this is a large directory (eg. in my case the pear/PHP directory that was processed 3 times), this duplicate scanning will cause delays that can be avoided.