Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows 7
Desktop
one year ago
Test name Executions per second
.charAt 408.4 Ops/sec
.indexOf 10199.5 Ops/sec
Str[index] 284.0 Ops/sec
.startWith 510.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • .charAt

  • .indexOf

  • Str[index]

  • .startWith


;