phpstan-src
phpstan-src copied to clipboard
Add full performance test for issue 5081
related to https://github.com/phpstan/phpstan/issues/5081
I'll take a look because I'm very nice (and like to debug those things) ;). but please don't expect too much and please be patient. Current state (after already removing many of those lines)
\time php -d xdebug.mode=profile bin/phpstan analyse --xdebug --debug --verbose tests/PHPStan/Analyser/data/bug-5081.php
/Users/herndlm/Development/source/git-forks/phpstan-src/tests/PHPStan/Analyser/data/bug-5081.php
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 249856 bytes) in /Users/herndlm/Development/source/git-forks/phpstan-src/src/Type/IntersectionType.php on line 229
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 249856 bytes) in /Users/herndlm/Development/source/git-forks/phpstan-src/src/Type/IntersectionType.php on line 229
PHPStan process crashed because it reached configured PHP memory limit: 1G
Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option.
1776.03 real 1682.61 user 20.75 sys
tbc later
The issue has been fixed for some time.