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

Use static variables in functions to improve performance

XMLWordPrintable

    • Any
    • MOODLE_20_STABLE

      With using static variables in some cases it is possible to improve performance
      The changes we have done are here: http://git.luns.net.uk/moodle.git/?p=moodle.git;a=shortlog;h=refs/heads/cvshead-optimisation

      Each commit message contains profiling data indicating how the change affected performance. On average, suggested changes reduce the page generation time by 200ms (tested with moodle2/mod/forum/view.php?id=x) and increase memory usage by 1%

            dongsheng Dongsheng Cai
            kabalin Ruslan Kabalin
            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.