HTML Preparation code:
Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.prototype.at
    String.prototype.charAt
    String.prototype.split
    String.prototype.substring
    String.prototype.slice
    for-loop
    spread operator
    Array.from

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
String.prototype.split
21K/s
spread operator
20K/s
Array.from
20K/s
String.prototype.charAt
18K/s
for-loop
18K/s
String.prototype.substring
17K/s
String.prototype.slice
17K/s
String.prototype.at
17K/s
View exact numbers
Test name Executions per second
String.prototype.split 21,103 Ops/sec
spread operator 20,021 Ops/sec
Array.from 19,964 Ops/sec
String.prototype.charAt 17,656 Ops/sec
for-loop 17,532 Ops/sec
String.prototype.substring 17,361 Ops/sec
String.prototype.slice 17,354 Ops/sec
String.prototype.at 17,054 Ops/sec