-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.2, 4.0.3
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
Adding BigBlueButton instances to a course causes the time for the course to load to scale linearly after upgrade from 3.5+.
History: We recently upgraded to Moodle 4.01 from Moodle 3.5+, using 3.8 as an intermediary step. Upon completing the upgrade, we have found that courses containing BigBlueButton instances now take inordinately long times to load. It is common practice for instructors to add a single BBB instance for each online class, so classes often reach 36-38 instances of the BBB activity within the course flow. We thought it might have something to do with the Collapsed Topic course format, but the results can be duplicated on the default topic course format. We also tested to see if it was a theme issue; it appears to be independent of theme setting.
We've checked the BBB plugin version, and it is listed as 2022041901.
Method for reproduction:
1. Create a Course
2. Add a BBB activity instance; name it Test1
3. Return to course homepage (save and return to course)
4. Refresh the page; record response time
5. Continue adding BBB activity instances
Results: Our testing suggests that each additional BBB instance causes view.php (not including any cached or non-cached resources) to respond 600-800 ms slower.
(see attached for screenshots)
Blank class: 227 ms
1 BBB activity: 1020 ms
2 BBB activities: 1650 ms
3 BBB activities: 2380 ms
4 BBB activities: 3110 ms
5 BBB activities: 3800 ms
...
Production course, with 36 activites: 27060 ms