Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make individual app boot methods more lazy #44951

Open
9 of 24 tasks
juliushaertl opened this issue Apr 22, 2024 · 0 comments
Open
9 of 24 tasks

Make individual app boot methods more lazy #44951

juliushaertl opened this issue Apr 22, 2024 · 0 comments
Assignees
Labels
1. to develop Accepted and waiting to be taken care of performance 🚀

Comments

@juliushaertl
Copy link
Member

juliushaertl commented Apr 22, 2024

While looking at some flamegraphs I noticed that we still have plenty of apps that have logic in the boot method that could be done far more lazy. Those would trigger larger chunks of dependency injection pulling in class instances that might not be needed (yet). While some dependencies might still be pulled in later there is definitiely potential for saving some load in the app boot process.

While every change itself might be rather small, this could add up in total to become a nice improvement.

A few examples that could be beneficial to move:

xdebug _ocs_v2_php_apps_notifications_api_v2_notifications 1713767602 182289 xt gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of performance 🚀
Projects
None yet
Development

No branches or pull requests

1 participant