Linux 软件免费装

What's running

开发者 szepe.viktor
更新时间 2015年8月25日 07:56
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 4.3
版权: GPLv2

标签

debug performance development debugging developer profiler debugger profiling

下载

1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.9.1

详情介绍:

Only for development! Now with OPcache memory consumption support This plugin dumps the colorized filenames and memory consumptions or file sizes after the normal WordPress HTML output, after the closing html tag. This generates invalid HTML but gives you an overview of loaded plugins and the current theme. What's running lists all files parsed and executed by the PHP engine. It can be used for plugin or theme refactoring. Now you can highlight your own plugin and theme Provide a part of its path in wp-config.php: define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' ); Color codes Links You can watch WP core bug #28364 to get more information about WordPress entry points. You can find some documentaion here what makes a WordPress plugin efficient: https://github.com/szepeviktor/WPHW Development of this plugin goes on on GitHub.

安装:

This section describes how to install the plugin and get it working.
  1. Upload wp-requires.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • This is an old screenshot. You can see the filenames after the admin footer.
  • This is the current screenshot of the plugin's output on the Dashboard. The colored bars represent the file sizes.
  • Lines highlighted by the WHATS_RUNNING_HIGHLIGHT constant.

常见问题:

It messes up my backend, frontend!

After finishing the refactor, please deactivate and delete this plugin.

How to highlight my code?

Insert a line into wp-config.php with a part of your files' path: define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' );

Use in production?

Please do not!

How to switch between file size and memory consumption?

When OPcache status is available memory consumption is displayed, otherwise the file size.

更新日志:

1.9.1 1.9 1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0