Linux 软件免费装
Banner图

PMC Benchmark

开发者 amit
pmcdotcom
更新时间 2013年11月25日 05:31
PHP版本: 3.5 及以上
WordPress版本: 3.8
版权: GNU GPLv2

标签

debug performance hooks benchmark debug bar profiling

下载

详情介绍:

This plugin is to lookup which hooks are slow in execution in plugins and current theme. This plugin needs Debug Bar plugin to be installed and activated. It adds a panel labelled "PMC Benchmark" in it. This plugin is for use in development environment only and not meant for use in a production environment. Github: https://github.com/Penske-Media-Corp/pmc-benchmark

安装:

Just put it in the plugins directory like any other normal plugin & activate it, that's all, no configuration etc. to mess around with. :)

屏幕截图:

  • PMC Benchmark panel in Debug Bar

常见问题:

This plugin does not show hooks run in all the plugins. What's the deal?

It is a limitation at present. The plugin will profile only those hooks which are executed after this plugin is loaded. So some plugins will be missed out but all hooks executed in the current theme will be captured. You can get around this limitation by loading this plugin via mu-plugins which are loaded before plugins. This limitation will be resolved in a future release.

Why is there so much data on some pages?

Both the summary and detailed view are shown. This is after all a debugging plugin for use in development environment, to help you improve performance of your plugin(s)/theme(s). What good that be without verbose data! ;)

更新日志:

1.1