Script Preparation code:
Tests:

Historical Performance Data aggregated from 40 community runs

Desktop Results:
Chrome 21 runs
TypedArray
8.7M/s
dataview
7.0M/s
JSON
1.6M/s

Fastest: TypedArray (5.4x faster)

View exact numbers
  • TypedArray: 8,664,966 ops/sec
  • dataview: 6,998,384 ops/sec
  • JSON: 1,609,520 ops/sec
Firefox 10 runs
dataview
4.9M/s
TypedArray
4.7M/s
JSON
436K/s

Fastest: dataview (11.3x faster)

View exact numbers
  • dataview: 4,928,396 ops/sec
  • TypedArray: 4,716,281 ops/sec
  • JSON: 435,927 ops/sec
Mobile Results:
Chrome 9 runs
TypedArray
2.6M/s
dataview
2.2M/s
JSON
621K/s

Fastest: TypedArray (4.2x faster)

View exact numbers
  • TypedArray: 2,627,846 ops/sec
  • dataview: 2,210,336 ops/sec
  • JSON: 621,403 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JSON
    TypedArray
    dataview

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146 on Windows
View result in a separate tab
dataview
5.9M/s
TypedArray
5.4M/s
JSON
641K/s
View exact numbers
Test name Executions per second
dataview 5,938,742 Ops/sec
TypedArray 5,418,229 Ops/sec
JSON 640,841 Ops/sec