Skip to content

reduce result cache use via collectors #287

@staabm

Description

@staabm

just a heads up, as I found today that collector classes of dead-code detect will accumulate a lot of data in the resultCache.php file:

Image

I did not look into details, but it would be great when possible to reduce the data collected to a minimum.

every property saved could lead to a big reduction because these items appear very often in the result cache (depending on project size)

removing dead-code-detector from phpstan-src reduces the resultCache.php file by ~65%


my observation is based on dead code detector 0.12.2 which is the one we use atm in phpstan-src

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions