Worker Performance Tests

Setup

These represent the available features.

Test Results

These tests can take up to 2 or 3 minutes to complete depending on your browser. Times are measured with `window.performance.now` and averaged over 1000 runs. Each test suite is run 10x.

The "Simple" test has a payload of 100 strings in an array within a wrapper object. The "Complex" test has a payload of 100 objects in an array within a wrapper object.

Each test measures round trips: e.g. the time it takes to serialize, send, receive a response, and parse the response. This means this test is biased towards operations that expect a response, while many good setups communicate only worker to main thread. A fair test would test the main thread overhead of processing a response.

Final Results

Per Run Results