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

Support renamed tideways_xhprof

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.11, 3.2.8, 3.3.5, 3.4.2, 3.5
    • Fix Version/s: 3.1.12, 3.2.9, 3.3.6, 3.4.3
    • Component/s: General
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-62280-master

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18