Tests:

Historical Performance Data aggregated from 5 community runs

Mobile Results:
Safari 5 runs
new TypedArray
584/s
Direct Array
151/s
new Array
126/s

Fastest: new TypedArray (4.6x faster)

View exact numbers
  • new TypedArray: 584 ops/sec
  • Direct Array: 151 ops/sec
  • new Array: 126 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
    new TypedArray
    new Array
    Direct Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
Firefox 148 on Windows
View result in a separate tab
new TypedArray
489/s
Direct Array
186/s
new Array
182/s
View exact numbers
Test name Executions per second
new TypedArray 489 Ops/sec
Direct Array 186 Ops/sec
new Array 182 Ops/sec