aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller/SettingsController.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-22 23:49:46 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-22 23:49:46 +0200
commit0747e96b9cdab9ce493cd13b1c2c407ef09bc28c (patch)
tree3bd1b9bf7443669c1204b81461117a10ad326013 /apps/files/lib/Controller/SettingsController.php
parent6ef6d499bfa178537d090c86725e12685dac6686 (diff)
downloadnextcloud-server-0747e96b9cdab9ce493cd13b1c2c407ef09bc28c.tar.gz
nextcloud-server-0747e96b9cdab9ce493cd13b1c2c407ef09bc28c.zip
Cache registered autoloaders
This saves more than 20ms (!) on every request, the previous problem was that `\OC_App::registerAutoloading` calls `\OC\AppFramework\App::buildAppNamespace` which parses the appinfo.xml. Since that was also called multiple times (e.g. on cloud.nextcloud.com over 200 times) that had a significant performance impact. Also on simple PROPFIND requests. https://blackfire.io/profiles/compare/65a53e6e-7f35-4974-b559-4c81abd01c3b/graph shows the difference nicely.
Diffstat (limited to 'apps/files/lib/Controller/SettingsController.php')
0 files changed, 0 insertions, 0 deletions