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

Search Performance when calling get_areas_user_accesses()

XMLWordPrintable

      We experiencing slow search performances. The reason that I figued out is the call of \core_search\manager::get_areas_user_accesses(). This function takes an awful lot of time and in a (solr based) search is called twice.

      I have created a post with my investigation results so far: https://moodle.org/mod/forum/discuss.php?d=451882




        1. debug.log
          8 kB
          Stephan Robotta
        2. nologin-func.svg
          15 kB
          Stephan Robotta
        3. nologin-overall.svg
          13 kB
          Stephan Robotta
        4. user-func.svg
          15 kB
          Stephan Robotta
        5. user-overall.svg
          14 kB
          Stephan Robotta
        6. exec_time_datapoints.png
          149 kB
          Stephan Robotta
        7. exec_time_tendency.png
          135 kB
          Stephan Robotta

            strobotta Stephan Robotta
            strobotta Stephan Robotta
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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