facile-it / paraunit

Run PHPUnit tests in parallel
https://engineering.facile.it/paraunit/
Apache License 2.0
135 stars 14 forks source link

Use Xdebug whitelisting #141

Closed Jean85 closed 2 years ago

Jean85 commented 5 years ago

PHPUnit has now a way to whitelist where to enable Xdebug, to improve performance in code coverage collection: https://thephp.cc/news/2019/01/faster-code-coverage

We could leverage this to improve Paraunit's performances. We would need to check if the feature is usable though, checking or limiting PHPUnit version and checking the Xdebug version too.

pczerkas commented 2 years ago

From the same article:

Update (June 22, 2021): Since this article was written, the --dump-xdebug-filter and --prepend options discussed here were removed from PHPUnit because they were no longer needed thanks to improvements in php-code-coverage. Furthermore, most developers use the PCOV extensions these days to collect line coverage information and Xdebug 3 is a lot faster than Xdebug 2.

Jean85 commented 2 years ago

Thank you for reminding me. Closing as no longer needed.