Skip to content

Slow rule-tests Testsuite #7930

@staabm

Description

@staabm

Bug Report

Subject Details
Rector version e.g. v0.11.5 (invoke vendor/bin/rector --version)

Minimal PHP Code Causing Issue

I had a look into rules-tests performance because they are a lot slower then all other tests.

Most interessting when looking into the profiles is, that we spent most of the time in compiling the depenency injection containers.
The tests itself are not that slow:

grafik

It seems these containers are dumped/compiled every time we run the test-suite.
I think it would be great if we could somehow only compile them once, as we don't add/remove underlying services in most commits.

do you think thats possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions