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

Towards better get_user_access_sitewide performance

XMLWordPrintable

      Although some improvements have been performed to the get_user_access_sitewide() function (see MDL-15748) following discussion http://moodle.org/mod/forum/discuss.php?d=107755#p548095 seems to indicate that we could improve it a bit more by moving some stuff within the function.

      This bug is about to discuss/test/decide if the change is doable, really boosts performance and provides 100% the same results.

      Thanks to Paolo Oprandi for all his tests/comments.

        1. get_users_access_sitewide_test.csv
          0.9 kB
          Dan Poltawski
        2. get_users_access_sitewide_test.ods
          58 kB
          Eloy Lafuente (stronk7)
        3. test_get_user_access_sitewide.php
          9 kB
          Eloy Lafuente (stronk7)
        4. test_get_user_access_sitewide2.php
          9 kB
          Eloy Lafuente (stronk7)
        5. test_get_user_access_sitewide5.php
          9 kB
          Eloy Lafuente (stronk7)

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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