This plugin hasnt been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Performance Testing

Description

The Performance Testing plugin tests the performance of both PHP and MySQL, if mysqlnd driver is installed, to find overhead in both WordPress and WordPress plugins. The requirements of this plugin is that you use PHP5 and have XDebug installed.

This plugin is not meant for end users, you must know how to install XDebug (https://codex.wordpress.org/Testing_WordPress_Performance) and how to configure it. You must have permissions to enable the extension and access to the php.ini file to configure XDebug. When this is all finished, the plugin will take over the rest and all you will need to do is choose which files you want to process.

This plugin is meant for debugging WordPress and WordPress plugins. If you do not need to debug WordPress or WordPress plugins, then you do not need to use this plugin.

Configuration

To be completed later.

TODO

The mysqlnd statistics is still incomplete, because there is currently no testbed available to see the statistics. This will have to be available.

Build unit tests for plugin code and go over inline documentation and improve as needed. Send over if needed and by September 1st 2008.

The cachegrind library needs to be unit tested and needs to conform to the file grammar better. The initial version works, but there are still some parts left over. The grammar would be better placed in an PHP extension, but there also needs to be a PHP userland counterpart for those who do not wish to install another PHP extension other than XDebug. Regardless, the PHP userland cachegrind library in use has to be improved to provide better statistics. This does not say that the statistics is not fairly accurate, it is, but it needs to be perfect for version 1.0 release.

The cachegrind processing takes far too long, it needs to be Ajax-ified, so that it is faster and the timeout is minimized. However, it might just be my machine is doing too much and is slowing down PHP itself.

1.0-beta1 – Initial beta release for bug fixes.

1.0-beta2 – Second beta release for bug fixes.

1.0-rc1 – Release candidate 1 for real world testing.

1.0-rc2 – Release candidate 2 for real world testing for bugs.

1.0 – Production release and adding to WordPress Extend

Installation

This plugin requires XDebug and PHP5. You can optionally configure either mysql and/or mysqli for mysqlnd driver. If the mysqlnd driver exist, then new statistics will be available.

The assumption is that you already downloaded and extracted the archive that holds this file.

Upload the ‘performance-testing’ folder to the ‘wp-content\plugins’ directory

Activate the plugin titled “Performance Testing” through the “Plugins” menu in WordPress

Once you activation the plugin, go to the settings page under the Plugins menu.

FAQ

There are no questions currently. If you need help contact me at www.santosj.name.

This plugin is alpha development. Use at your own risk. No feedback will be accepted at this time.

Contributors & Developers

“Performance Testing” is open source software. The following people have contributed to this plugin.