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

Improve move_courses() Performance

XMLWordPrintable

    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
    • git@github.com:marinaglancy/moodle.git
    • wip-MDL-27756-master
    • Easy
    • Hide

      using Site Administration->Courses->Add edit courses

      1. Create several courses and several categories
      2. Try to move one/several courses from one category to another

      Show
      using Site Administration->Courses->Add edit courses 1. Create several courses and several categories 2. Try to move one/several courses from one category to another

      move_courses() does a lot of things in a wasteful way:

      • Not reusing information
      • Repeating steps

      The attached patch (mdl_move_courses_performance.diff) attempts to minimize the waste.

            marina Marina Glancy
            jrchamp Jonathan Champ
            Sam Hemelryk Sam Hemelryk
            Petr Skoda Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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