Bug Report
| Subject |
Details |
| Rector version |
e.g. v0.17.6 |
when $rectorConfig->importNames(); is enabled running rector across the otherwise identical codebase is 42% slower.


is it a known problem that $rectorConfig->importNames() is such a performance hit?
do we actually need $rectorConfig->importNames() in our projects when we run ECS right after we ran rector?
Minimal PHP Code Causing Issue
my rector command on the kunzmann private repo:
blackfire run php vendor/bin/rector process app/admin --ansi --clear-cache
config
$rectorConfig->importNames();
$rectorConfig->disableParallel();
Expected Behaviour
fast CI :)
Bug Report
when
$rectorConfig->importNames();is enabled running rector across the otherwise identical codebase is 42% slower.is it a known problem that
$rectorConfig->importNames()is such a performance hit?do we actually need
$rectorConfig->importNames()in our projects when we run ECS right after we ran rector?Minimal PHP Code Causing Issue
my rector command on the kunzmann private repo:
blackfire run php vendor/bin/rector process app/admin --ansi --clear-cacheconfig
Expected Behaviour
fast CI :)