Run details:
Mozilla/5.0 (Linux; Android 10; RMX1911) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
2 years ago
Test name Executions per second
startsWith 198.5 Ops/sec
.charAt 152.1 Ops/sec
str[0] 207.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • startsWith

  • .charAt

  • str[0]