-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
3.6
-
MySQL, PostgreSQL
-
MOODLE_36_STABLE
-
MDL-63486-master
-
- Unit tests should still pass, but hopefully take less time than normal (at least on MySQL and Postgres).
-
So I've been running unit tests over and over and I felt bad asking CIs to run the test suite for me, but it's quite a bit faster than my system. So I took a look to see what my system was doing that was taking so long to run these unit tests.
The item that stood out was that the database was being reloaded from scratch over and over (which I understand). But each row was being added individually, which surprised me because I know that Moodle has database functions for bulk inserts (when supported with fallback to single inserts). So I wrote a patch that uses it. For me, this is somewhere between a 3% and 10% reduction in total time, not earth-shattering, but I wondered if anyone was interested.
- has a non-specific relationship to
-
MDLSITE-7135 Remove Travis integration from Moodle core
-
- Closed
-