-
Improvement
-
Resolution: Fixed
-
Minor
-
3.11, 3.11.2
-
MOODLE_311_STABLE
-
MOODLE_400_STABLE
-
when viewing the grading page, various functions instantiate the assign class without passing the coursemodule and course - big offenders include are:
- assignsubmission_comments_comment_validate
- assignsubmission_comments_comment_permissions
On a page with 1000 users being displayed at once, those 2 functions add 6 seconds to the page load and approx 10,000 db reads, we should cache the $assign class so that we only request it once.