Skip to content

How to Find Which Plugin Is Slowing Your Site: Query Monitor, New Relic and Staging Tests

On this page

Last updated: · By

In short: to find which plugin is slowing your site, first measure TTFB, then use three tools: Query Monitor shows which queries and API calls belong to each plugin, New Relic shows on the server which code uses the most time, and a staging environment lets you switch plugins off one by one without touching the live site. Each is free for basic use (as of 7 Nov 2026).

⏱ Time needed: 30–60 minutes · Difficulty: intermediate · Last checked: 7 Nov 2026

How do you know a plugin is the problem and not the server?

You test a page that did not come from a cache. A cached page does not run plugins at all, so it will not reveal a slow plugin. A freshly generated page runs all of WordPress, and that is where a heavy plugin shows up.

An example from my own site (6 Nov 2026, curl from my machine): the home page from Cloudflare’s cache came back in 297ms, and the same page with a cache-bypassing parameter in 1,035ms. About 750ms of that is the time WordPress takes to generate the page. That is the number a heavy plugin inflates.

SignProbably a pluginProbably the server
Only certain pages are slow (cart, search, wp-admin)✔
The slowness started after an install or update✔
The whole site is slow, even simple uncached pages✔
Server CPU constantly above 80%Possible✔
Slow only at peak hours✔

If the server itself is overloaded, start with the guide to a slow site and high CPU. If only some pages are slow, keep reading.

What is Query Monitor and how does it find a slow plugin?

Query Monitor is a free WordPress debugging plugin with more than 200,000 active installs (according to the plugin page on WordPress.org, 7 Nov 2026). It adds a panel to the top bar that shows how long the page took to generate, how many database queries ran, and who ran each of them.

The key advantage: it groups database queries by component, meaning by the plugin or theme responsible for them, and for HTTP calls it shows the component responsible for each call. That is exactly the question “who is slowing it down”.

  1. Install and activate Query Monitor (preferably on a staging environment, see below).
  2. Visit the slow page while logged in as an admin. The top bar will show the load time, memory and number of queries.
  3. Open Queries by Component. Sort by time. The plugin at the top of the list is your first suspect.
  4. Open Slow Queries and Duplicate Queries. A query that runs 200 times on a single page is a classic sign of a badly written plugin.
  5. Open HTTP API Calls. A plugin that calls an external server on every page load (licensing, statistics, a feed) can add a whole second if the other server is slow.
  6. Turn Query Monitor off when you are done. It is a debugging tool, not a plugin to leave active on a live site.

How do you use New Relic to find slow code?

New Relic is an APM (application performance monitoring) tool that runs on the server and measures every request, even when you are not logged in. It suits slowness that shows up only sometimes, for visitors, or only under load, which Query Monitor will not catch.

According to the New Relic pricing page, the free plan includes 100GB of data a month and one full user (7 Nov 2026). On Cloudways you connect it from the dashboard, without installing an agent by hand:

  1. Create a New Relic account and copy the License Key (shown as the Original account license key).
  2. In the dashboard, open Servers, choose a server, and in the Server Management menu choose Monitoring. Paste the key.
  3. Go to Manage Services and enable the New Relic service.
  4. After a few minutes of traffic, open Transactions in New Relic and sort by time. Inside a slow transaction you will see a breakdown by function and file. The file path (wp-content/plugins/plugin-name) gives away the culprit.

Note: enabling New Relic on a server monitors all the applications on it, according to the Cloudways help article. A full guide with screenshots: New Relic on Cloudways.

What if you have no time for New Relic?

Cloudways also has built-in monitoring. Under Application Management > Monitoring > Analytics > PHP, the Slow Pages tab shows every PHP script that ran longer than 5 seconds, with the number of requests and the maximum time. It will not tell you which plugin, but it will tell you which page to investigate.

How do you test plugins on staging without risking the site?

Staging is a copy of the site that you can break without visitors seeing it. On Cloudways you create it with a click: Application Management > Staging Management. According to the official guide, search engines do not index it, and changes reach the live site only if you push them.

  1. Create a staging copy from the live site. See the staging environment guide.
  2. Measure the slow page on staging (with a cache-bypassing parameter), 3 times, and note the median.
  3. Turn off all plugins except the ones the page needs (on a store: WooCommerce). Measure again.
  4. If the speed jumped, turn the plugins back on in groups of 3–4, and measure after each group.
  5. When the time jumps, split the last group until one plugin is left. That is your suspect.
  6. Replace it, configure it differently, or contact its developer. Only then push the change to the live site.

A shortcut for a live site without staging: the Health Check & Troubleshooting plugin from the WordPress team offers a Troubleshooting mode that turns off all plugins and switches to a default theme only for your user. Some users report it affected the live site too, so staging is still safer. Also note that the plugin page on WordPress.org warns that it has not been tested with the last three major WordPress releases.

Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

Which plugins usually slow down a site?

There is no blacklist, but there are patterns that repeat. The plugin itself is not “bad”; the problem is what it does on every page load.

Plugin typeWhy it slows things downWhat to do
Statistics and tracking inside WordPressWrites to the database on every viewMove to external measurement (GA4 / Clarity)
Backups that run from inside WordPressCompresses files and the database during active hoursUse server-level backups
“All-in-one” security pluginsScan and check every request in PHPMove protection to the server or CDN layer
Feeds, licensing and external APIsAn HTTP call on every loadCheck in Query Monitor > HTTP API Calls
Store search and filtersHeavy queries on large tablesIndexing, object cache (Redis)
Two caching pluginsThey conflict and cancel each other outKeep one. See cache plugins

After you find the culprit, an object cache such as Object Cache Pro can shorten repeated queries, but it does not fix a plugin that does unnecessary work. If only the admin panel is slow and the site is fast, see slow wp-admin.

What are the common mistakes when hunting a slow plugin?

Measuring with cache: a cached page is always fast and will show no difference between plugins. Add a parameter like ?nocache=1, or test as a logged-in user.

A single measurement: a 100ms difference between two runs is noise. Measure 3 times and take the median.

Turning plugins off on the live site: switching off WooCommerce or a payment plugin in the middle of the day costs sales. Do it on staging.

Forgetting the theme: sometimes the culprit is the theme or the page builder. In Query Monitor they show up as a separate component.

Frequently asked questions

How do you know which plugin is slowing down WordPress?

The quick way is Query Monitor: open Queries by Component and sort by time. For problems that only show up sometimes, New Relic on the server shows which plugin file uses the most time. And if it is still unclear, turn plugins off in groups on a staging environment and measure.

Does Query Monitor slow down the site?

A little, because it collects data on every request. It shows that data only to admins, but it is better to turn it on for the duration of the test and off afterward. The safest way is to run it on staging.

Is New Relic free?

There is a free plan with 100GB of data a month and one full user, according to the New Relic pricing page (as of 7 Nov 2026). For a single site it is usually enough for testing.

How many plugins is too many for WordPress?

There is no magic number. 40 light plugins can run faster than 5 heavy ones. What matters is what each plugin does on every page load, and Query Monitor shows exactly that.

Can you turn off all plugins without breaking the site?

On the live site it is risky, especially on a store. On a staging environment it is completely safe, because visitors do not see it. On Cloudways you create staging with a click from Application Management.

What do you do if the slow plugin is one you cannot live without?

Check whether it has a setting that turns off the heavy operation (for example internal statistics), contact the developer with the data from Query Monitor, or look for an alternative. An object cache such as Redis can soften repeated queries.

Sources

Official source: Cloudways Knowledge Base: New Relic APM and Staging Environment. This guide was written and checked by Asael Dreyer · Updated: 7 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Picture of Asael Dreyer
Asael Dreyer

Hi, I'm Asael Dreyer, CEO of an SEO agency that runs hundreds of websites hosted on dozens of Cloudways servers.
Everything you will find here comes from hands-on experience, mine and my teams', straight from the field: from the guides to the recommendations. All to help you get the most out of Cloudways.

More about me →

Need help? Got a question about your server or this guide? Write to us and we will get back to you.

More guides on this topic:
מפריד
Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL