WBench is a tool that uses the HTML5 performance timing API to benchmark end user load times for websites.
$ gem install wbench
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/
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
- Add ability to gist results
- Add ability to use different browsers (firefox and IE)
- Allow stats collection through the ruby API.