Script Preparation code:
Tests:

Historical Performance Data aggregated from 48 community runs

Desktop Results:
Chrome 26 runs
Uint8Array
179/s
Array
78/s

Fastest: Uint8Array (2.3x faster)

View exact numbers
  • Uint8Array: 179 ops/sec
  • Array: 78 ops/sec
Firefox 17 runs
Uint8Array
390/s
Array
76/s

Fastest: Uint8Array (5.1x faster)

View exact numbers
  • Uint8Array: 390 ops/sec
  • Array: 76 ops/sec
Mobile Results:
Chrome 5 runs
Uint8Array
100/s
Array
59/s

Fastest: Uint8Array (1.7x faster)

View exact numbers
  • Uint8Array: 100 ops/sec
  • Array: 59 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
    Uint8Array
    Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Mobile Safari/537.36
Chrome Mobile 146 on Android
View result in a separate tab
Uint8Array
108/s
Array
64/s
View exact numbers
Test name Executions per second
Uint8Array 108 Ops/sec
Array 64 Ops/sec