WordPress plugin

Deadweight

Deadweight – Plugin Performance Profiler

Find which plugins slow down your site: PHP time, database queries, front-end weight, autoloaded options and cron load, ranked per plugin with plain-English verdicts.

Status
Submitted to WordPress.org · in review
Version
1.0.0
Requires
WordPress 6.4+, PHP 7.4+
License
GPL-2.0-or-later
Price
Free
WordPress.org listing coming after reviewQuestions? Contact me

What it does

Deadweight answers one question: which plugins make this site slow, and by how much? Click Run profile and it requests a handful of typical pages from your own server, several times each, with a profiler attached, then charges every millisecond, query and kilobyte to the plugin that caused it.

Pick a plugin and re-run the same pages with it filtered out of the profiling requests only. You see the before and after without deactivating anything for visitors.

Features

  • Per-plugin PHP time. Self time in hooks and includes, with nested hooks charged to the plugin that did the work, min, average and max across passes.
  • Database queries. Count and time per plugin with the slowest queries and their caller.
  • Front-end assets. What each plugin enqueues, its size, whether it blocks rendering, and libraries loaded twice by different plugins.
  • Autoload and cron. Autoloaded options and cron events by owner, including orphaned cron hooks left behind by removed plugins.
  • Weight score and verdicts. A relative score from PHP time, query time, render-blocking KB, autoload KB and cron runs per day, plus a plain-language verdict per plugin.
  • History, compare, export. Sessions are kept, any two can be compared after an update, and a self-contained HTML report can be sent to a client. Browse-and-profile mode for hosts that block loopback requests.

Screenshots

Ranked results: weight, PHP time, queries, front-end KB, autoload, cron and a verdict per plugin.
1. Ranked results: weight, PHP time, queries, front-end KB, autoload, cron and a verdict per plugin.
Expanded plugin row: PHP per URL, slowest hooks and queries, assets and options.
2. Expanded plugin row: PHP per URL, slowest hooks and queries, assets and options.
Try without: the same pages measured with one plugin filtered out.
3. Try without: the same pages measured with one plugin filtered out.
Autoloaded options by owner.
4. Autoloaded options by owner.
Compare two sessions after an update.
5. Compare two sessions after an update.
Self-contained HTML export.
6. Self-contained HTML export.

Support & source

Bug reports and questions: emtiazzahid@gmail.com. The plugin is GPL-2.0-or-later; the full, unminified source ships inside the plugin package.