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

Optimise grader report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.7
    • Gradebook
    • 8
    • BACKEND Sprint 15

      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

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            John Okely John Okely
            Marina Glancy Marina Glancy
            Zachary Durber Zachary Durber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.