Over a million developers have joined DZone.

Speedometer 2.0 Testing

DZone's Guide to

Speedometer 2.0 Testing

Here's a brief tutorial on using Speedometer 2.0 for performance testing, and a throwback to Speedometer 1.0 if that's more your...speed.

Free Resource

Sensu is an open source monitoring event pipeline. Try it today.

Speedometer 2.0 Testing

Recently Speedometer 2.0 has been released by WebKit team at Apple which helps developers and testers to test the web responsiveness by simulating the To-Do app using various frameworks. In this blog post, I am going to share my experiments with Speedometer 2.0.

Speedometer is a simple web application which helps to benchmark the web apps' responsiveness. It works great in Internet Explorer as well as a variety of other browsers. To start testing, visit http://browserbench.org/Speedometer2.0/

Under the hood, Speedometer uses the app ToDoMVC team helps you to select MV framework. Speedometer simulates to-do MVC user actions like adding a task, completing tasks, and removing to-do items using DOM APIs using various JavaScript frameworks such as React, Angular JS, Backbone.js, jQuery, Inferno, or Flight.

Image title

How to Use Speedometer 2.0

To begin testing, click on Start Test button. Once the test begins, Speedometer starts simulating the to-do MVC user actions using various MV frameworks. You can see the simulated actions in the iFrame. At the bottom, it will display the progress and the total iterations count.

Image title

Speedometer iterates the user actions 10 times and concluded the test by displaying the runs/minute with the arithmetic mean. Below is the sample test results in Chrome browser.

Image title

Image title

There will be 480 hits (including 10 iterations) which will take around 3 minutes to complete. Below is the screenshot of an iteration in JMeter of iteration 1.

Image title

In this newer version, Speedometer supports modern JavaScript frameworks and libraries, ES2015 JavaScript, Babel, and TypeScript.

The final score has been calculated using geometric mean against the different framework. During the simulation, Speedometer creates, completes, and delete 100 to-do items.

Issue in IE 11

Speedometer will not work in IE 11. Once you click on Start Test button, in the Console pane, you will get below error.

Image title

Image title

If you want to use Speedometer in IE 11, you can use User Agent string of IE 11 in JMeter.

Mozilla/5.0 (Windows NT 6.3; Trident/7.0; RV:11.0) like Gecko


Speedometer is a great utility and works faster in Chrome. But it lacks support in IE 11, it does support Edge.

Once the test is started, there is no option to abort the test; it just displays the framework and the counter.

How to Access Speedometer 1.0

To access the older version, visit http://browserbench.org/Speedometer/. 

Important Note:

Speedometer should not be used as a way to compare the performance of different JavaScript frameworks as workload differs greatly in each framework.

Your turn: Have you tried Speedometer? If yes, please let me know your experience.

Sensu: workflow automation for monitoring. Learn more—download the whitepaper.

speedometer ,mvc ,apple ,browser testing ,web responsive ,webkit ,client side performance ,app responsive ,performance

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}