I developed this plugin because I needed a way to check the PHP execution time of my admin pages while developing a theme. It starts a timer as close to the beginning of the PHP process as possible and stops it just before shutdown. Both time values are returned and the difference is displayed by javascript in the upper left of your WordPress admin area.

Displays the time in microseconds that PHP took to create an admin page. Used for theme and plugin development, to optimize PHP. Uses Javascript to display the execution time in the upper left of the admin screen. Creates some invalid HTML, but this is only for testing and dev purposes. Technically it’s not recording the PHP execution for the entire operation because the timer starts at the first available plugin hook, so some PHP core functions and processes have already occured, but you can’t optimize these anyway.
by Jared Henderson
2 comments