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

Improve move_courses() Performance

    XMLWordPrintable

Details

    • 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

    Description

      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.

      Attachments

        Activity

          People

            marina Marina Glancy
            jrchamp Jonathan Champ
            Sam Hemelryk Sam Hemelryk
            Petr Skoda Petr Skoda
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1/Aug/11