GitHub - gorhill/sessbench: Browser session benchmarker (original) (raw)

A developer tool to benchmark realistic browser sessions for Chromium-based browsers in order to extract privacy-related stats.

Screenshot

This has been created in order to obtain objective numbers for measuring the impact of browser extensions known as blockers. The original motivation was issue #151 of HTTP Switchboard.

This developer tool is rather bare. I keep the output results as simple as can be because I plan to use these numbers for end users. Streams of statistical numbers would not be useful to the end-user.

If you want to improve, just fork, or ask for a pull request.

Usage

Open your browser developer tools. Click the Browser benchmark tab.

On the right there is a text area where you will enter directives. Valid directives are:

The results are displayed on the left when the benchmark complete:

Some stats above are also split in 1st and 3rd party figures:

When the whole benchmark is repeated more than once, all the above values will be the average of the aggregated measurements.

Example

repeat 5
clear cache
clear cookies
http://news.yahoo.com/
http://www.huffingtonpost.com/
http://www.cnn.com/
http://news.google.com/
http://www.nytimes.com/
http://www.foxnews.com/
http://www.theguardian.com/
http://www.nbcnews.com/
http://www.dailymail.co.uk/
http://www.usatoday.com/
http://www.washingtonpost.com/
http://www.wsj.com/
http://www.abcnews.go.com/
http://news.bbc.co.uk/
http://www.latimes.com/

And here are typical results.