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

Support renamed tideways_xhprof

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.11, 3.2.8, 3.3.5, 3.4.2, 3.5
    • 3.1.12, 3.2.9, 3.3.6, 3.4.3
    • General
    • 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

    Description

      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

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Juan Leyva Juan Leyva
            Jake Dallimore Jake Dallimore
            Carlos Escobedo Carlos Escobedo
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17/May/18