Skip to content

[Pre-Rector 1.0] - Faster and lighter DI container with Laravel #8120

@TomasVotruba

Description

@TomasVotruba

Currently, the Symfony container pulls http-kernel and creates cached and compiled container on every test run. This leads to extreemely slow tests and downgrade of full range of symfony/* packages we don't need. I wrote about this topic here:

I want to make an experiment on performance speed, memory load and /vendor downgrade size in 2 scenarios:

  • current Symfony DI
  • lightweight Laravel container

If the later proves well, we can switch to it like we did in ECS last week. That resulted in 4 time faster tests:

https://twitter.com/VotrubaT/status/1683576139049058304


Let's see how the speed goes in here :)

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