Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12687

Add a constant to dissociate the displaying of the load time from DEBUG

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b4
    • 3.1.0-RC1
    • None
    • None

    Description

      In phpBB 3.0.x the DEBUG constant had a very little impact: track the sql queries and display the load time. And many user (maybe something like 70%) like to display the load time of the page to the user and so they set the DEBUG constant to true.

      In 3.1.x the DEBUG constant add many other things:

      • twig debug
      • dump or not url_matcher
      • search or not the templates events on each page
      • ...

      And so the impact of the DEBUG constant on the performances isn't negligible at all.

      But the users still want to display the load time, and if we tell them to set the DEBUG constant to true they all will complain because their board will take something like 0.7s on each page (and for that the support team will want kill us xD)

      So we need to managed the displaying of the load time information independently of the DEBUG constant.

      Attachments

        Issue Links

          Activity

            People

              bantu Andreas Fischer [X] (Inactive)
              nicofuma nicofuma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: