Skip to content
Runs a suite of performance related tests on a set of URLs.
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
webpagetest
.gitignore
LICENSE
README.md
benchmarks.sh
psi.sh
run.sh
settings.example.cfg
url-keys.example.cfg
wpt.sh

README.md

Site Performance Testing

This tool will run a suite of site performance related tests on a set of URLs. Including:

Apache Benchmark

Google PageSpeed

WebPageTest.org

The motivation behind this tool is to develop a consistent and convenient method of running performance/benchmark tests.

Dependencies

Apache Benchmark (ab): This comes with the standard apache installation.

Google PageSpeed Plugin: https://www.npmjs.com/package/psi

Python 2.6

Installation

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.

Usage

./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].

You can’t perform that action at this time.