Skip to content

Disable PCOV if installed (40% faster on affected systems) - #6253

Open
AJenbo wants to merge 1 commit into
phpstan:2.2.xfrom
AJenbo:pcov
Open

Disable PCOV if installed (40% faster on affected systems)#6253
AJenbo wants to merge 1 commit into
phpstan:2.2.xfrom
AJenbo:pcov

Conversation

@AJenbo

@AJenbo AJenbo commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Very 2017 Déjà vu, this often affect CI where PCOV may be installed for faster coverage then xdebug, but when coverage isn't needed it can still hurt performance quite a bit (xdebug was 400% if I remember correctly).

Unlike xdebugHandler this isn't ported from another package or spun out from one. If you prefer I could create ajenbo/pcov-handler and then start shopping it around other projects as well. But even for that case maybe it would be good to start with it as part of phpstan and then later spin it off from there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant