這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Debug Bar Slow Actions

描述

This plugin lists the top 100 slowest actions and filters during a page request in WordPress. It helps you figure out performance bottlenecks in themes and plugins.

Requires Debug Bar.

Current limitations:

  • Does not time nested actions and filters due to a core bug
  • Does not time actions and filters before plugins_loaded or muplugins_loaded if placed in mu-plugins
  • Does not time actions and callbacks after wp_footer at priority 1000

螢幕截圖

  • Screenshot

評價

2023年4月14日
Some code was slowing my site, and I was unable to pinpoint the culprit with other tools such as Query Monitor. Thanks to this extension I have been able to identify the problem and solve it. Plugins works well with WP 6.1 Thanks!
2022年2月22日
This plugin is essential for plugin development! It also works with the Query Monitor plugin.
2021年8月14日
It was THE tool that finally helped me to spot the function (action) that made the pageload slow. I failed to do the same with Query Monitor, Debug This, F12, P3..and other plugins. I don't know many other plugins that can do exactly this. Probably New Relic? But that has a complicated and deeper-level install process. Plus not open source.. So, thank you.. and please keep taking care of this and maintain sometimes. A useful treasure for humankind! 😉 Best wishes, Wiktor
2016年9月3日
This is the perfect add-on for the "Debug Bar" plugin. It helped me to discover why my admin pages were taking 10.5 seconds to load. The plugin showed me that the action "admin_menu" was taking 10.5 seconds to be executed. Investigating all occurences of the string "admin_menu" in my theme code, I found an external request to a web site which is not on-line anymore and, cancelling it, my pages now load in 1.5 seconds.
閱讀全部15個評價

貢獻者及開發者

“Debug Bar Slow Actions” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Debug Bar Slow Actions 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.8.4

  • Fix typo in count() usage, props @josephscott

0.8.3

  • Fix undefined variable notice

0.8.2

  • Fix a couple warnings/notices

0.8.1

  • Add support for closure/anonymous functions
  • Show all callbacks hooked to each priority
  • Fix minor styles

0.8

  • Code cleanup
  • Use wp_footer for output instead of output buffering
  • Show callbacks hooked to each action

0.7

  • First version