WordPress plugin

Bloatwright

Bloatwright – Performance Profiler & Site Speed Audit

Measures the PHP time, database queries, front-end assets, autoloaded options and cron load of every plugin on real pages.

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

What it does

Bloatwright 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 to those requests only, then charges the time, queries and kilobytes to the plugin that caused them.

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

Features

  • Per-plugin PHP time. Self time in hook callbacks plus main-file load time, with nested hooks charged to the plugin that did the work, averaged per page.
  • Database queries. Count and time per plugin with the slowest queries and their caller.
  • Front-end assets. What each plugin serves on front-end pages, its size, whether it blocks rendering, and libraries loaded twice by different plugins.
  • Autoload and cron. Autoloaded options and cron events by owner, including cron hooks with no callback attached.
  • 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 where a rule applies.
  • History, compare, export. Sessions are kept, a session can be compared with the previous one after an update, and each exports as a self-contained HTML report. Browse-and-profile mode for hosts that block loopback requests.

Screenshots

Ranked results: weight, PHP time, queries, front-end KB, autoload, cron and verdicts.
1. Ranked results: weight, PHP time, queries, front-end KB, autoload, cron and verdicts.
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.
A session compared with the previous one after an update.
5. A session compared with the previous one 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.