Open nosilver4u opened 7 years ago
Hmm I am not seeing this, could this possibly the number of tabs open over the length of the file?
I'm getting Error running phpcs
and multiple php processes using more than 90% CPI.
Maybe related to latest version of phpcs installed with homebrew?
I have phpcs 2.8.1 installed. Atom version 1.15, linter-phpcs 1.6 macOS 10.12.4
Let me know if I can provide any additional information or suggestions. Cheers.
Did you change the path to match the homebrew install? Also check that its not linter-phpcs spawning the processes.
I sincerely apologize, I do believe it is linter-phpcs. Confused the 2 packages.
Following up on my original report, I was able to get back to the "normal" behavior of 1 phpcs process spawning only after completely closing (quitting) Atom, and re-opening my project. I haven't seen the behavior resurface yet, but I'll try to see if I can figure out what triggered it.
There seems to be some sort of problem where this package is spawning multiple phpcs requests when saving a file. It seems to be related to the length of the file, as short files only spawn a few and finish quickly, whereas larger files (7000+ lines) might spawn 16+ instances, and take quite some time to complete the parsing as a result.