Skip to content

Show in debug how long a rule takes something like SlowRuleLog maybe #8043

@alexander-schranz

Description

@alexander-schranz

Feature Request

One of my projects is getting bigger and bigger and I need to increase the rector->parallel() configuration to get it run inside our gitlab CI runner.

Currently to run it in the CI I have to use:

$rectorConfig->parallel(480);

On 240 it did already run into timeouts and so we doubled it. Default is 120 seconds.

I think it would be nice if --debug maybe shows also which rules did take the most time to maybe check a specific rule if it can be optimized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions