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

Disable xdebug for travis

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 3.0.2
    • 3.0.1
    • Unit tests
    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • MDL-52595-master
    • Hide
      1. Sync with travis
      2. Push a branch with this commit, and another one without this commit
      3. Race them
      4. Confirm that things still work with this commit, and that they are hopefully faster too
      Show
      Sync with travis Push a branch with this commit, and another one without this commit Race them Confirm that things still work with this commit, and that they are hopefully faster too

    Description

      As others have found out (e.g. Composer), php can be as much as 3x slower when run with xdebug (https://getcomposer.org/doc/articles/troubleshooting.md#xdebug-impact-on-composer).

      Tests on travis show that we can halve our test execution time by disabling xdebug before we run them: https://travis-ci.org/andrewnicols/moodle/builds/98444235

      At the moment we do not need xdebug for phpunit or behat. They are only required for code coverage analysis.

      In the case of php >= 56, we can also swap it out for phpdbg -qrr if we do want it. phpdbg should be faster than xdebug.

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Rajesh Taneja Rajesh Taneja
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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