Giter Club home page Giter Club logo

wptgo's Introduction

wptgo

Super-simple test launcher for Webpagetest (WPT). Frictionless performance comparisons of multiple pages/sites.

Example

$ WPT_API_KEY=<your_key> wptgo www.github.com www.bitbucket.com
Starting tests:
www.github.com
www.bitbucket.com

Test details:
http://www.webpagetest.org/result/160303_M2_3841ebe1b21b53c566081de32fe91b86/1/details/
http://www.webpagetest.org/result/160303_Y4_69517e5b586cf86e18c742d5609d7c08/1/details/

Comparison url:
http://www.webpagetest.org/video/compare.php?tests=160303_M2_3841ebe1b21b53c566081de32fe91b86,160303_Y4_69517e5b586cf86e18c742d5609d7c08&thumbSize=200&ival=100&end=visual

Configuration

Specify your api key:

$ export WPT_API_KEY=<your key>

OR

$ wptgo --apiKey=<your key>

Launch some tests:

$ wptgo <url>
$ wptgo --batchFile [file with one url per line]

All the options for the 'test' command can be specified as either command line arguments like --location=<location> or in config.json like:

{
  "location": "<location>",
  etc...
}

A small, sane set of defaults is provided in config.json:

{
  "affinity": "wptgo",
  "private": true,
  "video": true
}

An additional command-line option batchFile is available to specify a file of urls to test, one url per line.

wptgo's People

Contributors

sandinmyjoints avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.