Support » Everything else WordPress » How long should a WP page take to execute on the server? (not dl to browser)

  • If you measure the time it takes to parse and run one of your wp pages, how long does it take? I don’t mean how long does it take the browser to download css,js, imgs but rather the execution of the PHP code itself on the server side.

    For example if you add the following to your root directory index.php file:

    $start_time = MICROTIME(TRUE);
      define('WP_USE_THEMES', true);
      require('./wp-blog-header.php');
    $stop_time = MICROTIME(TRUE);
    
    echo $stop_time - $start_time . 'seconds';

    What is the average execution time for wordpress?

  • The topic ‘How long should a WP page take to execute on the server? (not dl to browser)’ is closed to new replies.