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

Support renamed tideways_xhprof

XMLWordPrintable

    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-62280-master
    • Hide

      Note: xhprof is no longer available for PHP70, and it's probably not easy to install the older tideways which used to include xhprof.
      They are only kept in the patches because some people may have an older copy of tideways installed, and xhprof may be resurrected from the dead.

      1. Install tideways_xhprof (see https://github.com/tideways/php-xhprof-extension)
      2. Navigate to Site administration -> Development
        1. *Confirm that "Profiling" is listed
      3. Open Profiling
        1. Tick "Enable profiling"
        2. Set "Profile these" to include /my/*
        3. Save changes
      4. View your Dashboard
      5. Open Site administration -> Development -> Profiling runs
        1. Confirm that there is a run listed
      6. Open the run
        1. Confirm that it has a Run ID, URL, Date, Exec time, CPU time, Func calls, and Memory used
      7. Click on "View profiling details"
        1. Confirm that the report it shown
      Show
      Note: xhprof is no longer available for PHP70, and it's probably not easy to install the older tideways which used to include xhprof. They are only kept in the patches because some people may have an older copy of tideways installed, and xhprof may be resurrected from the dead. Install tideways_xhprof (see https://github.com/tideways/php-xhprof-extension ) Navigate to Site administration -> Development *Confirm that " Profiling " is listed Open Profiling Tick " Enable profiling " Set " Profile these " to include /my/* Save changes View your Dashboard Open Site administration -> Development -> Profiling runs Confirm that there is a run listed Open the run Confirm that it has a Run ID, URL, Date, Exec time, CPU time, Func calls, and Memory used Click on "View profiling details" Confirm that the report it shown

      Tideways has split their PHP extension into XHProf, and Tideways XHProf and we need to update accordingly.

      https://tideways.com/profiler/blog/releasing-new-tideways-xhprof-extension

        1. Screen Shot 2018-05-04 at 11.05.00.png
          51 kB
          Carlos Escobedo
        2. Screen Shot 2018-05-04 at 11.05.20.png
          77 kB
          Carlos Escobedo
        3. Screen Shot 2018-05-04 at 11.05.29.png
          218 kB
          Carlos Escobedo
        4. Screen Shot 2018-05-04 at 11.22.38.png
          193 kB
          Carlos Escobedo
        5. Screen Shot 2018-05-04 at 11.42.33.png
          113 kB
          Carlos Escobedo

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Juan Leyva Juan Leyva
            Jake Dallimore Jake Dallimore
            Carlos Escobedo Carlos Escobedo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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