Site Performance Testing
This tool will run a suite of site performance related tests on a set of URLs. Including:
The motivation behind this tool is to develop a consistent and convenient method of running performance/benchmark tests.
Apache Benchmark (ab): This comes with the standard apache installation.
Google PageSpeed Plugin: https://www.npmjs.com/package/psi
Clone this repository.
Create a settings.cfg and url-keys.cfg and webpagetest/urls.txt files. Follow the examples for settings.cfg and url-keys.cfg. webpagetest/urls.txt will just be a plain text. The Web Page test tool will require an API key, which should be added to settings.cfg. API keys can be requested at http://www.webpagetest.org/getkey.php.
./run.sh [-a] [-p] [-w]
-a Runs apache benchmark tests,
-p Runs Google PageSpeed tests.
-w Runs WebPageTest.
Execute the run.sh script and wait for the test to complete, which can take some time. Using default settings. Test results will be placed in result/[date and time of test].