该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Theme and Plugin (T&P) Profiler

描述

The Theme and Plugin Profiler uses a little known PHP feature known as ticks. Basically, this is an internal event that occurs every time a code block is executed, marked (roughly) by a function call or curly {} brackets.

The plugin uses ticks to collect a list of the functions that were executed, how often they were called and how much time they took in total. The plugin’s option page gives some filters to select and sort the results. This will give developers clues which parts of their code demand scrutiny.

屏幕截图

  • Options page
  • Sample output

安装

  1. Upload the plugin files to the /wp-content/plugins/theme-plugin-profiler directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Tools->T&P Profiler screen to configure the plugin

评价

此插件暂无评价。

贡献者及开发者

“Theme and Plugin (T&P) Profiler” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1 (April, 2016)

  • First stable version