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

H5P file upload function in the H5P atto button reduces performance on all pages that load atto

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Deferred
    • Minor
    • None
    • 3.8
    • H5P
    • None
    • MOODLE_38_STABLE

    Description

      Discovered after testing MDL-66399:

      The new H5P file upload feature for the H5P atto button reduces performance by adding a few DB queries through lib/form/editor.php

      To replicate

      • Login as admin
      • Turn on performance info for the page footer
      • Create a new forum
      • Create a new forum post
      • View the number of DB reads
      • Comment out the h5p code in lib/form/editor.php
      • View the number of DB reads again

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              basbrands Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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