Linux 软件免费装

MITS Profiler

开发者 wpaluchmits
更新时间 2026年6月16日 20:26
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

debug performance database hooks profiler

下载

1.3.0 1.3.1

详情介绍:

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: Key features: SQL query logging requires adding the following to wp-config.php: define('SAVEQUERIES', true);

安装:

  1. Upload the mits-profiler folder to /wp-content/plugins/
  2. Activate the plugin in Plugins → Installed Plugins
  3. Go to MITS Profiler in the admin menu to open the control panel
  4. Click Profiluj w nowej karcie or manually append ?mits_prof=1 to any URL

屏幕截图:

  • Admin panel — page count, OPcache hit rate and SAVEQUERIES status.
  • Profiler bar — Timeline tab showing hook timing from profiler_init to render.

常见问题:

Does this plugin slow down my site for visitors?

No. The profiler only activates when ?mits_prof=1 is present in the URL, and even then it only renders its output for logged-in administrators. Regular visitors are completely unaffected.

Does it work behind Cloudflare?

Yes. Unlike profilers that rely on HTTP loopback requests (which Cloudflare blocks), MITS Profiler measures time inline within the same PHP process — no outgoing requests needed.

How do I see database queries?

Add define('SAVEQUERIES', true); to your wp-config.php before the line /* That's all, stop editing! */. Remember to remove it when done, as it adds overhead on every page load.

The panel does not appear

Make sure you are logged in as an administrator and that the URL contains ?mits_prof=1 (or &mits_prof=1 if the URL already has a query string).

更新日志:

1.3.0 1.2.0 1.1.0 1.0.0