這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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