Skip to content
All articles
Vic Dorfman

Measuring WordPress Server Speed and Performance

How we measure WordPress backend speed on heavy membership and LMS sites: the tests, tools and numbers that matter more than a PageSpeed score.

Measuring WordPress Server Speed and Performance

It’s important to understand that the way we look at performance and “speed” for membership sites, eLearning sites, community sites, WooCommerce sites, and other “heavy” (and often paywalled) WordPress sites is fundamentally different from the popular understanding.

Factors such as a heavy tech stack, large numbers of concurrent users, lots of dynamic content (meaning we can’t just go nuclear on caching), and high traffic, all inform a different approach than a static marketing site.

In fact, what the industry won’t tell you is that if you have a static site of any kind, you can run it on a $10 server and cache the bejesus out of it and it will work perfectly well.

Not so with memberships and other types of large, dynamic WordPress sites.

In this article we discuss some of the ways we approach quantifying performance of the WordPress backend to help us understand what practical performance for these types of sites really looks like.

Objective

Here we’ll outline the steps to measure backend server speed and performance effectively using tools and techniques discussed in the accompanying video below.

Key Steps

1. Introduction to Backend Performance Measurement

Loader.io load test dashboard next to a WordPress site and a live server resource monitor

  • Understand the importance of backend server speed and performance.
  • Recognize that subjective testing (clicking around) is not sufficient for objective measurement.
  • Load testing is important. We use loader.io and k6.

2. Avoid Common Misconceptions

Loader.io results panel shown beside the WordPress front end and a terminal-based server monitor

  • Do not rely solely on tools like GTmetrix or PageSpeedTools for comparisons.
  • Understand that production sites often have optimizations that staging sites may lack.

3. Identify Key Performance Metrics

Loader.io test configuration with GET requests targeting the homepage and the shop page path

  • Focus on dynamic actions like adding items to cart and visiting membership pages.
  • Recognize that these actions incur backend costs related to CPU performance.

4. Set Up Comparison Sites

Loader.io results dashboard with the WordPress test site and server monitor open side by side

  • Use two sites for comparison: one on Digital Ocean and one on MemberHost.
  • Ensure both sites are running similar configurations (e.g., Redis object caching).

5. Install Activity Simulator Plugin

Loader.io test preparing to run with 60 simulated clients over a one minute window

  • Install a plugin that allows for synthetic performance testing.
  • Use this tool to generate results for comparison.

6. Install Query Monitor

WordPress admin dashboard with the LiteSpeed Cache menu open and a loader.io response time chart behind it

  • Install Query Monitor on both sites to analyze page generation time and database queries.
  • Use it to break down performance metrics: overall page generation time, memory usage, database queries, and their execution time.

7. Analyze Performance Data

Loader.io test aborted at a 54.4 percent error rate while LiteSpeed Cache is set to off

  • Compare the number of database queries and their execution times between the two sites.
  • Ensure that both sites are tested under similar conditions for valid comparisons.

8. Conduct Activity Simulations

Loader.io load test showing a 1,956ms average response time with LiteSpeed Cache still turned off

  • Run the activity simulator on both sites to observe performance differences.
  • Record the time taken for each simulation and the number of queries executed.

9. Identify Bottlenecks

Activity Simulator comparison showing a 7.48 second execution time on Digital Ocean versus 0.53 seconds on MemberHost

  • Look for any HTTP calls that may slow down performance.
  • Check for remote server response times that could affect the test.

10. Review Overall Performance

Query Monitor overview comparing page generation time, peak memory and database query totals on both servers

  • Summarize the total page generation time and other metrics from Query Monitor.
  • Compare these metrics to understand the backend performance differences.

11. Final Thoughts and Support

Side by side Activity Simulator results: 7.58 second page generation on Digital Ocean versus 0.56 seconds on MemberHost

  • Reach out for further questions or clarifications regarding specific scenarios.
  • Contact Denny at [email protected] or connect with team members for assistance.

Cautionary Notes

  • Ensure that both sites are running the same version of WordPress and plugins to avoid discrepancies in performance data.
  • Be aware that synthetic tests may not fully represent real user experiences on the site.

Tips for Efficiency

  • Regularly monitor backend performance to catch issues early.
  • Use caching and CDN services to optimize performance before conducting tests.
  • Document findings and adjustments made during testing for future reference.

Ultra performant WordPress hosting for your membership site

Your site has unique technical needs: lots of heavy plugins, hundreds of concurrent users, traffic spikes. Big box hosting companies do not even know about these needs, let alone how to address them properly. But we do.