Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Dec 20, 2025

before this PR:

grafik
➜  phpstan-src git:(2.1.x) ✗ PHPSTAN_GNSR=1 hyperfine 'php vendor/bin/phpunit tests/PHPStan/Analyser/NodeScopeResolverTest.php' --runs=5
Benchmark 1: php vendor/bin/phpunit tests/PHPStan/Analyser/NodeScopeResolverTest.php
  Time (mean ± σ):     15.219 s ±  0.105 s    [User: 14.850 s, System: 0.359 s]
  Range (min … max):   15.059 s … 15.339 s    5 runs

after this PR:

➜  phpstan-src git:(remember-fns) ✗ PHPSTAN_GNSR=1 hyperfine 'php vendor/bin/phpunit tests/PHPStan/Analyser/NodeScopeResolverTest.php' --runs=5
Benchmark 1: php vendor/bin/phpunit tests/PHPStan/Analyser/NodeScopeResolverTest.php
  Time (mean ± σ):     15.049 s ±  0.230 s    [User: 14.679 s, System: 0.360 s]
  Range (min … max):   14.659 s … 15.264 s    5 runs

@staabm
Copy link
Contributor Author

staabm commented Dec 20, 2025

interessting.. I don't see this errors locally.. will have another look

@staabm staabm marked this pull request as ready for review December 20, 2025 13:40
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

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.

2 participants