Skip to main content
Last Reviewed: May 04, 2022

Launch Check - WordPress Performance and Configuration Analysis

Learn more about the checks we automatically run on your Pantheon WordPress site.


Pantheon provides static site analysis as a service for WordPress sites to make best practice recommendations on site configurations. These reports are found in the Site Dashboard under the Status tab, and are accessible by site team members.

status tab on live environment

Overview

Pantheon provides recommendations that fit the vast majority of use cases by using a technique known as static program analysis which gathers performance and behavior patterns to see how a site works.

This mechanism does not actually perform requests on your site, and in doing so avoids the observer effect. This process is non-intrusive and does not require installation or configuration. Reports and results are issued automatically, and can help detect common problems and provide insight into your site.

How Does it Work?

WP Launch Check is a site audit extension for WP-CLI designed for Pantheon customers, although it is fully usable outside of Pantheon.

Run Launch Check Manually

You can manually perform a site audit with WP Launch Check from the command line using Terminus.

  1. Run the following command:

    terminus wp <site>.<env> -- launchcheck <subcommand>

For more information about WP-CLI, visit their GitHub page. For more information on WordPress Launch Check, go to the GitHub repo.

What Does Launch Check Evaluate?

Cron

Cron is disabled by default because the platform-run job in the WordPress Upstream runs once every hour. You can enable Cron if you would like to use it. The launch check will return the following message if Cron is disabled.

Cron appears to be disabled, make sure DISABLE_WP_CRON is not defined in your wp-config.php.

Database

The database stores your site's data including:

  • pages and other content
  • user data
  • plugins and themes
  • categories, tags, and system-wide settings
  • tables

Launch Check displays database stats, including:

  • Rows count in a given table

  • Tables using InnoDB storage engine (suggests a query to run if not)

    InnoDB has row level locking; MYISAM has table level locking. If a query is being performed on a table with MYISAM storage engine, no other query can modify the data until the first has given up its lock, which can result in tremendous performance issues for web applications. To learn how to move your tables to InnoDB, see Moving MySQL tables from MyISAM to InnoDB.

  • Transients and expired transients which are cached data temporarily stored in the wp_options table.

The wp_options table stores several types of data for your site, including:

  • settings for your plugins, widgets, and themes
  • temporarily cached data
  • site URL and home URL
  • category settings
  • autoloaded data

If your website is running slow and you receive the following message in the database stats: consider autoloading only necessary options, review Optimize Your wp-options Table and Autoloaded Data.

Object Cache

This tells you if Object Caching and Redis are enabled.

If you receive an error message similar to the example below, you'll need to move object-cache.php from the plugin directory to the wp-content directory.

Cannot redeclare class WP_Object_Cache in/srv/bindings0fef773f42984256a4f6feec2556a5ed/code/wp-content/plugins/wp-redis/object-cache.php

Performance and Elite WordPress site(s) that are currently running WP Redis are eligible for an upgraded solution. For more details, see:

Plugins

This check lists all your enabled plugins and alerts you when they need to be updated.

  • Green: All of your plugins are up-to-date
  • Yellow: Highlighted plugins need to be updated
  • Red: Displays unsupported plugins

Unsupported Plugins

PHP Sessions

Displays the files that references sessions. If any are found, you'll be prompted to install the WordPress Native PHP Sessions plugin.

Support

If you have a feature request, message enhancements, or found a bug, please look at the project's issues and submit a new issue if someone else has not already posted it. Pull requests are always welcome!

More Resources

If you have a Drupal site, see Launch Check - Drupal Performance and Configuration Analysis.