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

Performance and usability improvements in class section_info

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.6
    • 2.6
    • Course
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-41218-master
    • Hide

      Must be no regressions and performance improvement in the following cases:

      1. Enable completion and conditional availability (otherwise there are no extra queries and therefore no performance improvements)
      2. Add conditional availability to some course sections
      3. Make course display one section per page
      4. If section A has conditional availability and user views section B, the availability of unshown section is not calculated.
      5. Same with viewing /my/ page - you should see the performance improvement, especially if MAX_MODINFO_CACHE_SIZE is less than number of courses displayed on the page.
      6. Same with overview pages mod/xxxx/index.php. For example, if section X has conditional availability but contains no instances of module xxxx, this section's availability is not calculated while displaying mod/xxxx/index.php
      Show
      Must be no regressions and performance improvement in the following cases: Enable completion and conditional availability (otherwise there are no extra queries and therefore no performance improvements) Add conditional availability to some course sections Make course display one section per page If section A has conditional availability and user views section B, the availability of unshown section is not calculated. Same with viewing /my/ page - you should see the performance improvement, especially if MAX_MODINFO_CACHE_SIZE is less than number of courses displayed on the page. Same with overview pages mod/xxxx/index.php. For example, if section X has conditional availability but contains no instances of module xxxx, this section's availability is not calculated while displaying mod/xxxx/index.php
    • BACKEND Sprint 4

      • Calculate uservisible, available, availabe_info on demand only
      • Proper phpdocs for properties and methods
      • Do not store unnecessary data

            marina Marina Glancy
            marina Marina Glancy
            Rajesh Taneja Rajesh Taneja
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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