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

Speed up grade_item::get_final() by using better SQL instead of a loop

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.1
    • STABLE backlog
    • Gradebook
    • Any
    • MOODLE_22_STABLE

    Description

      grade_item::get_final() retrieves a bunch of grade_grades then uses an array to get them into an array keyed on user ID. Replace this with smarter SQL to avoid the loop.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andyjdavis Andrew Davis
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: