Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 837 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 837 Bytes

WBench

WBench is a tool that uses the HTML5 performance timing API to benchmark end user load times for websites.

Installation

$ gem install wbench

Usage

Command Line

Simply enter the URL of a website you want to test. The site will be loaded in the Chrome browser 10 times.

$ wbench https://www.desktoppr.co/

Example Usage Output

Ruby API

You can programatically run the benchmarks. Simply specify the URL and optionally the amount of runs.

require 'wbench'

results = WBench::Test.run('https://www.google.com/', 10) # => WBench::Results

TODO

  • Add ability to gist results
  • Add ability to use different browsers (firefox and IE)
  • Allow stats collection through the ruby API.