Script Preparation code:
Tests:

Historical Performance Data aggregated from 86 community runs

Desktop Results:
Chrome 57 runs
typedArray reverse
372K/s
array reverse
137K/s
array i/o
27K/s
typedArray i/o
23K/s

Fastest: typedArray reverse (16.0x faster)

View exact numbers
  • typedArray reverse: 371,910 ops/sec
  • array reverse: 136,838 ops/sec
  • array i/o: 26,794 ops/sec
  • typedArray i/o: 23,179 ops/sec
Firefox 21 runs
typedArray i/o
150K/s
array reverse
142K/s
typedArray reverse
132K/s
array i/o
80K/s

Fastest: typedArray i/o (1.9x faster)

View exact numbers
  • typedArray i/o: 149,717 ops/sec
  • array reverse: 142,096 ops/sec
  • typedArray reverse: 131,572 ops/sec
  • array i/o: 79,676 ops/sec
Mobile Results:
Chrome 8 runs
typedArray reverse
148K/s
array reverse
55K/s
typedArray i/o
3K/s
array i/o
2K/s

Fastest: typedArray reverse (60.2x faster)

View exact numbers
  • typedArray reverse: 147,742 ops/sec
  • array reverse: 55,061 ops/sec
  • typedArray i/o: 2,612 ops/sec
  • array i/o: 2,456 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
    array reverse
    typedArray reverse
    array i/o
    typedArray i/o

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0
Chrome 151 on Windows
View result in a separate tab
typedArray reverse
391K/s
array reverse
134K/s
array i/o
4K/s
typedArray i/o
4K/s
View exact numbers
Test name Executions per second
typedArray reverse 390,925 Ops/sec
array reverse 134,308 Ops/sec
array i/o 4,142 Ops/sec
typedArray i/o 3,709 Ops/sec