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

Grade export unnecessarily slow (grade_object::set_properties)

XMLWordPrintable

    • 4
    • International 3.9 - Sprint 3

      Grade exports can take an extremely long time to complete as thousands of operations with grade_object instances are performed. The set_properties function is much slower than it needs to be due to use of in_array and unnecessary loops.

      Changing the function to use php builtins improves performance dramatically.

      Patch incoming.

            lameze Simey Lameze
            tlevi Tony Levi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m

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