plugin-icon

MITS Profiler

作者 wpaluchmits·
Lightweight WordPress performance profiler. No HTTP loopback requests — works behind Cloudflare and any proxy.
版本
1.3.0
最近更新:
Jun 11, 2026

MITS Profiler adds a diagnostic bar to any page by appending ?mits_prof=1 to the URL. It captures timing data from the moment PHP starts and presents it in a dark-themed panel at the bottom of the page — visible only to logged-in administrators.

Tabs included:

  • Timeline — absolute and relative timing between WordPress lifecycle hooks (plugins_loaded init wp_head wp_footer)
  • Hooks — top 50 slowest action/filter hooks with total time and call count
  • Options — most-queried WordPress options + full autoload audit with sizes
  • Plugins — loaded PHP file sizes per plugin (proxy for load time)
  • Assets — all enqueued scripts and styles, external ones highlighted
  • HTTP — outgoing wp_remote_* requests with response time and status
  • SQL — all database queries with slow-query highlighting (requires SAVEQUERIES)
  • PHP — PHP version, OPcache status and hit rate, memory and execution limits

Key features:

  • Zero HTTP loopback — works behind Cloudflare, reverse proxies and strict firewall rules
  • No external dependencies or requests
  • Admin-only: the panel and all data are never shown to guests
  • Export to JSON or CSV for offline analysis
  • Works on front-end pages, WooCommerce pages, and WP Admin

SQL query logging requires adding the following to wp-config.php:

define('SAVEQUERIES', true);
目前已測試版本
WordPress 7.0
此外掛程式已可供下載,並可用於你 系統。