8000 Consider deprecating ClassCollectionLoader & co. · Issue #20668 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Consider deprecating ClassCollectionLoader & co. #20668
Closed
@nicolas-grekas

Description

@nicolas-grekas

Calling for feedback + experiment from the community on this topic:

on a Symfony standard edition, prod env, no-debug, PHP 7, composer -o (ie normal setup for prod),
if I comment the line requiring bootstrap.php.cache and the call to $kernel->loadClassCache(); in web/app.php, it looks like my setup is not slowed down, if not a bit faster.
I used ab for benching.

That could mean we don't need these optims in PHP 7 era.

If this is confirmed, it means we could consider deprecating ClassCollectionLoader and $kernel->loadClassCache().
Could any of you try the same and report some resulting numbers?
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0