Configuring Page Speed Online API

The easiest way to set up automated performance testing is to use Google Page Speed Online API.

You can use simple shell script bundled with ShowSlow to schedule it using cron.

Getting the key
Get your Google Web Services API key

Open your config.php file and set  variable.

Running the tests
To send API calls and import metrics into ShowSlow, just use your favorite tool to open beacon URL:

/beacon/pagespeed/?api&u=

You can do that periodically using a cron-job, but keep in mind API call limits on the API.