-
Improvement
-
Resolution: Fixed
-
Minor
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
When attempting to look at slow tests and trying to find them out, it became apparent that we would easily use all Moodle's existing infrastructure to produce a PHPUnit performance run.
This was changed it was discovered DOMDocument doesn't accept > 10Mb data fields. A PHPUnit run produced close to 20Mb of data.
Adjusting the saving and export of profiles to use gzcompress() means a PHPUnit run is only 2.5Mb. Which is sufficient for future growth before a bigger change to a different format.
When attempting to load those profiles, they use more memory than Moodle assigns by default. MEMORY_HUGE was added as you will know what you are doing if you have profiling enabled.
- caused a regression
-
MDL-55921 PHPUnit profiling can produce warnings
- Closed