Run details:
Mozilla/5.0 (Linux; Android 9; MI MAX 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
5 years ago
Test name Executions per second
.charAt 123.3 Ops/sec
.indexOf 228.0 Ops/sec
Str[index] 198.7 Ops/sec
.startWith 77.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • .charAt

  • .indexOf

  • Str[index]

  • .startWith


;