8000 Performance issue when analysing project with prinsfrank/standards · Issue #10772 · phpstan/phpstan · GitHub
[go: up one dir, main page]

Skip to content

Performance issue when analysing project with prinsfrank/standards #10772

@ondrejmirtes

Description

@ondrejmirtes

Bug report

Repository: https://github.com/h4kuna/phpstan-long-run

Analysed file: https://github.com/h4kuna/phpstan-long-run/blob/main/src/test.php

Steps:

// 1. composer install
// 2. composer phpstan
//      - wait long time

// 3. let's comment part A
// 4. uncomment part B
// 5. remove phpstan cache
// 6. composer phpstan
//      - much faster!

Takes about 98 seconds on my machine.

Code snippet that reproduces the problem

No response

Expected output

Should be instant.

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0