phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

use a separate resultCache per project config file

Open staabm opened this issue 3 years ago • 5 comments

closes https://github.com/phpstan/phpstan/issues/7379 closes https://github.com/phpstan/phpstan/issues/7601

With this patch we see analysis time dropped to ~5 seconds from previous 2-3 minutes in mono-repo projects, which contain several phpstan.neon files.

staabm avatar Jun 23 '22 12:06 staabm

added a test-case. should be good to go.

staabm avatar Jun 30 '22 15:06 staabm

@ondrejmirtes anything I can do to get this merged?

staabm avatar Jul 10 '22 14:07 staabm

I'm looking forward to this feature too. I should be able to get rid of some local config entries most likely :)

herndlm avatar Aug 31 '22 11:08 herndlm

sorry, for the "bump", but I just thought about this PR and was wondering about its state and/or if it was forgotten maybe :)

herndlm avatar Dec 19 '22 12:12 herndlm

I'm a bit afraid to touch this area because it's hard to test it.

ondrejmirtes avatar Dec 19 '22 14:12 ondrejmirtes