Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46646

Optimise grader report

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: Gradebook
    • Labels:
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 15

      Description

      Whilst playing with some larger datasets on MDL-25544, I noticed that things were a lot slower than I would expect, so I did some profiling.

      The profiling pulled up some easy-to-address things which can knock off a sub off the page load. These are things like:

      • unnecessary use of html_writer in a loop;
      • repeat calls to fetch gradebook user preferences without caching
      • repeated calls to get_string for the same static string

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14