-
Bug
-
Resolution: Fixed
-
Major
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
MDL-43721-master -
If there are 600 students in a course,when a teacher open a assign grading page url(like mod/assign/view.php?id=333&action=grading),he must waiting 20 seconds at least.
envionment:
1.600+ students in a course.
2. rowsperpage: 50 or 100
3.CPU on server masterfrequency: 2.0 G
I traced the code,it shows the most time spent is on the line 1142 ( $this->build_table() ) in /lib/tablelib.php.
so i wonder if it is possible to move this action on the side of browser via YUI? if the server side(PHP) only read the data from DB,and passing the meta data to the client,i think it will improve performance much more.