-
Sub-task
-
Resolution: Done
-
Minor
-
4.0.2
-
-
MOODLE_400_STABLE
-
MOODLE_401_STABLE
-
Moodle App 4.1.0
This is related to MOBILE-4086
It would be perfect to have a method to export all the DB queries performance information ready to be imported into a spreadsheet, for example:
Site-abcde, wscache_mod, INSERT, 325, 1234.34ms
Site-abcde, wscache_mod, SELECT, 100, 2475,98ms
any_db, any_table, SELECT|INSER|UPDATE|DELETE, #queries, total_timems
This will help us to measure if we really improved performance by splitting the wscache table
This functionality should use the contents within the existing dbProvider.queryLogs array so we can easily reset (empty) that table via the console for doing different tests, the previous might require refactoring the way the information is stored in the queryLogs array