Hello everyone,
In Nextcloud 24, a new development tool will be available: a built-in profiler. This tool allows you to analyse the performance of your Nextcloud installation, list all the DB request done, the memcache statistics, the LDAP queries and the XHR requests created by the frontend.
I hope it will make it easier to directly measure the performance impact of changes, as well as being a general tool to debug DB and LDAP queries.
To enable it you will need to
- Make sure you are using the latest master version of server.
- Install the profiler application: GitHub - nextcloud/profiler: A built-in profiler UI for Nextcloud
- Compile the js files with npm ci && npm run build
- Add
'profiler' => true
in your config.php - Open any page and see the toolbar at the bottom (it can be collapsed)
If you have any improvement suggestions, feel free to open issues in
Happy debugging!
Carl