Debug Mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nuno
    Senior Member
    • Apr 2001
    • 4346
    • 3.8.x

    Debug Mode

    Why is it that the board runs a lot faster under Debug Mode?
    You're my Prince of Peace
    And I will live my life for You
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    Can you list some benchmark results please? Running localhost both with and without debug doesn't show me any difference.

    And what specificly is faster?

    Comment

    • nuno
      Senior Member
      • Apr 2001
      • 4346
      • 3.8.x

      #3
      Server Specs:
      PHP Version 5.0.4
      Windows NT LOCALHOST 5.1 build 2600
      Apache HTTP Server 2.0.54
      eAccelerator v0.9.3
      mysqli Client API version 4.1.7


      PHP Code:
      $config['Misc']['debug'] = true
      Code:
      Executed 9 queries (1 queries for uncached templates)
      (Page Generated in 0.06077 Seconds)
      Uncached template: board_inactive_warning

      PHP Code:
      $config['Misc']['debug'] = false
      Code:
      Page generated in 0.15155 seconds with 9 queries
      The fact is, the board runs a lot faster with DEVDEBUG turned on, though I don't have the faintest idea why.
      Is it safe to leave this setting on?
      You're my Prince of Peace
      And I will live my life for You

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        localhost, yes, live, no.

        Comment

        • nuno
          Senior Member
          • Apr 2001
          • 4346
          • 3.8.x

          #5
          Ok, thanks both.
          You're my Prince of Peace
          And I will live my life for You

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            Did you test that multiple times? what about under more load?

            Is this a dedicated server that you are tsting on? or your own machine?

            There are hunders of possible variations.

            Comment

            • nuno
              Senior Member
              • Apr 2001
              • 4346
              • 3.8.x

              #7
              Still on 3.0.7. I'm currently testing the Beta on my own machine.
              And yes, I tested it multiple times and much to my surprise, I found that the results were consistently the same.
              To sum up, vB runs faster with Debug Mode set to 'true' (at least locally).
              You're my Prince of Peace
              And I will live my life for You

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...