Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23754 Performance improvements META
  3. MDL-25291

new flag indicating empty admin tree

    XMLWordPrintable

    Details

    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      Most users can not see anything from admin tree, but still we are loading it nearly on each page, this caused very many extra php includes.

      We could store a flag in session which would indicate that user can not see anything from admin tree and then we would just skip loading of the admin tree completely.

      This could help with memory and CPU load.

      potential benefit?
      -50 file includes for each student on each page
      -4MB in 64 bit OS on each page for students

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            skodak Petr Skoda
            Tester:
            Dongsheng Cai
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: