-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
5.0
When running the task on our instance, it takes about 12 hours to complete. The problem is in some question categories that apparently take a very long time to convert.
For one run I have prepared a cachegrind.out file with the PHP Xdebug profiler. The file is uploaded here: https://filesender.switch.ch/filesender2/?s=download&token=779baa4b-0c24-4ce9-a27e-9a1336f4c4e7 available till Februar 27th. It's gzipped 3.4GB. Unzipped its more that 30GB in size.
Also we added some more logging to the conversion task to see where the time is spend and to identify possible issues. These changes are intermediate changes, not ment to become part of the Moodle core, but could when further adapted. The changes are in this repo/branch:
https://github.com/srobotta/moodle/tree/update-qbank-with-logging