[AMOS commit] MDL-55272 lib: Improve test course create performance Committed into Git: 2016-07-19 00:39 UTC

[AMOS commit] MDL-55272 lib: Improve test course create performance Committed into Git: 2016-07-19 00:39 UTC

by AMOS bot -
Number of replies: 0
Author: Russell Smith
MDL-55272 lib: Improve test course create performance
Use core functions that are faster for test file creation.
To support large requests for hashes, the core hash function
must support large hashes without recursion. PHP has a default
recursion depth of 100 and long hashes don't support this.

Remove transactions as they create performance problems for larger
courses and doesn't introduce significant benefit for developers.

Performance changes meant the times were much faster, a reasonable
guess was taken on performance of an average machine.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=6a3acc84defae7d5be8e68cb9d02dca92138f490
http://github.com/moodle/moodle/commit/6a3acc84defae7d5be8e68cb9d02dca92138f490

+ 3.2 en [coursesize_2,tool_generator]
+ 3.2 en [coursesize_3,tool_generator]
+ 3.2 en [coursesize_4,tool_generator]
+ 3.2 en [coursesize_5,tool_generator]