How to Find Which Plugin Slows Down Your WordPress Site

A WordPress site rarely slows down all at once. One plugin update, one new feature, or one background task, and page loads stretch from under a second to several seconds. The fix starts with evidence, not guesses. This guide shows how to find which plugin slows down WordPress using measurements you can repeat on your own server: start with a baseline, narrow the list with Query Monitor, then confirm the culprit with a staging test before you change anything on the live site.

Measure a baseline before you touch anything

Without a baseline, every change feels like progress, even when it is not. Pick three pages to test: the homepage, a typical post, and a page with a form or shop feature. Load each one in a private browser window and note the load time. Then repeat the same test from the command line so caching and browser extensions do not skew the numbers:

curl -o /dev/null -s -w "TTFB: %{time_starttransfer}s Total: %{time_total}sn" https://example.com/

Run each URL three times, keep the middle result, and write the numbers down. Also note whether the problem is the frontend, the slow WordPress admin dashboard, or both, because a plugin that only runs in wp-admin will not show up in a homepage test.

Check the usual suspects first

Some plugin types cause trouble more often than others. Page builders, security scanners, backup tools, statistics plugins, and social sharing tools tend to load scripts on every page or run heavy database queries on every request. Start by listing what is active:

wp plugin list --status=active

Read the list with fresh eyes. Look for plugins you installed for one job and forgot, two plugins doing the same work, and old plugins that have not been updated in a year or more. Use our list of plugins known to hurt performance as a starting point for your own tests, not a verdict.

Use Query Monitor to find which plugin slows down WordPress

The Query Monitor WordPress plugin is a free debugging tool that shows, per page load, which database queries ran, how long they took, and which plugin or theme triggered them. That last part is what makes it useful for wordpress plugin performance work. Install it on staging first, or on live only if you can restrict it to your own user account:

wp plugin install query-monitor --activate

Load a slow page, open the Query Monitor toolbar in the admin bar, and look at these panels in order:

  • Queries by Component. This groups queries by the plugin that made them. Sort by time and note any plugin taking a large share of total query time.
  • Queries by Caller. This names the exact function behind each slow query.
  • HTTP API Calls. External requests show up here with response times. A plugin waiting on a slow third-party API looks like a slow plugin in a slow TTFB test, but the fix is different.
  • Scripts and Styles. This lists every JavaScript and CSS file loaded on the page and which plugin registered it. A plugin that loads its assets on pages where it does nothing is wasting load time.

Check more than one page. A contact form plugin may look innocent on the homepage and heavy on the contact page, and a related-posts plugin may only run on single posts. Test the same three pages you used for the baseline.

Confirm it with a one-by-one staging test

Query Monitor points at suspects. A staging test proves guilt. Never deactivate plugins one by one on the live site: visitors will see broken forms, missing widgets, or error messages while you work. Clone the site to a staging subdomain first. A simple copy of files plus a database export is enough for this test:

wp db export ~/staging-backup.sql

On staging, deactivate the suspect plugin and reload the same three pages. Compare the numbers with your baseline. Then reactivate it and move to the next suspect. Test one plugin at a time. Deactivating five at once tells you the group is slow, not which member is slow. Keep a short table as you go:

Plugin deactivated Homepage load Post load Verdict
None (baseline) Recorded time Recorded time Reference
Form plugin Recorded time Recorded time Keep or replace
Stats plugin Recorded time Recorded time Keep or replace
Sharing plugin Recorded time Recorded time Keep or replace

A real culprit shows a clear drop when deactivated, usually a second or more on the affected pages, and the slowness returns when you reactivate it. If deactivating a plugin changes nothing, it is innocent, even if Query Monitor flagged one slow query from it. Small differences of a tenth of a second are noise, so run each test twice before you decide.

Read the slow query log and server logs

Some plugins only misbehave under real traffic, when cron jobs fire or when a scheduled task runs in the background. A staging test with one visitor will miss those. The slow query log catches them. Enable it on the server for a few hours during normal traffic:

SET GLOBAL slow_query_log = 'ON';
SET GLOBAL long_query_time = 1;

After a few hours, look at which tables the slow queries touch. Plugin tables usually carry the plugin name in the table name, and queries against wp_options with autoloaded rows point at plugins that store too much data in options. A plugin that writes a new transient on every page view will grow wp_options until every request slows down.

While you are in the logs, check the PHP error log and the nginx error log for repeated warnings from the same plugin. The warning usually names the file and line where it happens.

Check frontend scripts and styles

Not every slow plugin is slow in the database. Many hurt wordpress plugin performance in the browser instead. Run a wordpress speed test with a tool like PageSpeed Insights or WebPageTest and open the waterfall view. Look for JavaScript files that block rendering, large CSS files from plugins that are not used on that page, and external fonts or tracking scripts loaded by a plugin. A slider plugin that loads its scripts on every page, including the contact page and the blog archive, is a common find.

The fix here is often configuration, not removal. Many plugins have a setting to load assets only where they are used, or to load scripts in the footer instead of the header. If the plugin has no such setting, a lightweight asset control plugin can stop it loading on pages where it does nothing. Test the change on staging first, because a script moved to the footer can break a feature that depends on it loading early.

Decide what to do with the slow plugin

Once you have proof, you have four options, and removal is only one of them:

  • Configure it. Turn off features you do not use, limit it to the pages where it is needed, and raise its cache time if it fetches external data.
  • Update it. Check the changelog for performance fixes. A plugin that was slow a year ago may have been fixed since, and a fast plugin may have gained a heavy feature in a recent update.
  • Replace it. If a lighter plugin does the same job, switch on staging, test the same pages, and only then move the change to live. Keep the old plugin deactivated for a week before deleting it.
  • Remove it. If nothing needs the feature, delete the plugin and clean up its leftover tables and options.

For a slow wordpress admin problem specifically, the culprit is often a plugin that runs a check on every admin page load: a license check, a news feed, or a dashboard widget that fetches remote data. Deactivate dashboard widgets you never read, and the admin area often speeds up without touching the frontend at all.

Keep plugin performance under control

Finding the slow plugin once is not enough. Plugins change with every update, and a fast plugin can turn slow after a feature is added. Run the same baseline test after every batch of plugin updates, and keep Query Monitor installed on staging so the next check takes minutes instead of an afternoon. Set a simple rule for new plugins: install on staging first, test the three baseline pages, and only move to live when the numbers are unchanged.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.