Script Preparation code:
Tests:

Historical Performance Data aggregated from 24 community runs

Desktop Results:
Chrome 18 runs
Uint8Array
26K/s
Uint8ClampedArray
26K/s
View exact numbers
  • Uint8Array: 26,305 ops/sec
  • Uint8ClampedArray: 26,167 ops/sec
Firefox 6 runs
Uint8Array
1.0M/s
Uint8ClampedArray
968K/s
View exact numbers
  • Uint8Array: 1,043,502 ops/sec
  • Uint8ClampedArray: 967,765 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
    Uint8ClampedArray

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/135.2 Mobile/15E148 Safari/605.1.15
Mobile Safari 18 on iOS 18.3.1
View result in a separate tab
Uint8Array
1.9M/s
Uint8ClampedArray
1.3M/s
View exact numbers
Test name Executions per second
Uint8Array 1,865,071 Ops/sec
Uint8ClampedArray 1,346,273 Ops/sec