-
-
Notifications
You must be signed in to change notification settings - Fork 738
[Pre-Rector 1.0] - Faster and lighter DI container with Laravel #8120
Copy link
Copy link
Closed
Labels
Description
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:
- https://tomasvotruba.com/blog/experiment-how-i-replaced-symfony-di-with-laravel-container-in-ecs
- https://tomasvotruba.com/blog/unleash-the-power-of-simplicity-php-cli-app-with-minimal-dependencies
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:
Let's see how the speed goes in here :)
Reactions are currently unavailable