Make individual app boot methods more lazy #44951
Labels
1. to develop
Accepted and waiting to be taken care of
enhancement
feature: apps management
performance 🚀
technical debt
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:
server/apps/dav/lib/AppInfo/Application.php
Line 222 in 443b267
server/apps/comments/lib/AppInfo/Application.php
Line 86 in aa5f037
The text was updated successfully, but these errors were encountered: