Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
array access
431K/s
charAt
430K/s
View exact numbers
  • array access: 430,587 ops/sec
  • charAt: 429,786 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 access
    charAt

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 23 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Chrome 151 on Mac OS X 10.15.7
View result in a separate tab
array access
431K/s
charAt
429K/s
View exact numbers
Test name Executions per second
array access 430,587 Ops/sec
charAt 429,123 Ops/sec