gmarty / web-workers-benchmark

Benchmark various aspects of Web workers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web workers benchmark Web workers benchmark

Benchmark various aspects of Web workers.

What?

A technical, mobile first app to benchmark different aspects related to web workers:

  • Instantiation
  • Messaging latency
  • Transfer speed

The following communication methods are used:

Results

Results measured on a Flame.

Creation time

Creation time

Creation time scatterplot

Latency

Latency

Latency scatterplot

Transfer speed

Speed transfer

Speed transfer scatterplot

Compatibility

While this app itself works cross-browser, the thread.js library requires an environment that supports the Broadcast Channel API (i.e. Firefox only currently). In the future, this may not be the case. It will then be possible to run this app in other browsers.

About

Benchmark various aspects of Web workers.

License:Apache License 2.0


Languages

Language:JavaScript 98.4%Language:CSS 1.3%Language:HTML 0.3%