Skip to content

Performance regression in cache warmup #292

@tpatartmajeur

Description

@tpatartmajeur

I recently upgraded to 9.5 and noticed that the cache warmup became significantly slower.
After some investigation, I found that the slowdown actually started in 9.1.2.

With 9.1.1, clearing the cache gives:

[INFO] "AutoMapper\Symfony\Bundle\CacheWarmup\CacheWarmer" completed in 15262.90ms.

Starting from 9.1.2 (and still in 9.5), the same operation takes much longer:

[INFO] "AutoMapper\Symfony\Bundle\CacheWarmup\CacheWarmer" completed in 37221.69ms.

I tried to investigate the cause but didn’t manage to find anything conclusive.

Environment:
PHP: 8.2.29
Symfony: 6.4.24

Do you have any idea what change could have introduced this?

Thanks a lot for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions