You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Mount provider registration (files_sharing, files_external, groupfolders, collectives, ...)
files_lock registering lock provider (while ILockManager is free of dependencies, LockProvider has quite some that might be not needed on every request)
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: