WordPress.org

Ready to get started?Download WordPress

Forums

How long should a WP page take to execute on the server? (not dl to browser) (1 post)

  1. JFrankParnell
    Member
    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic