Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/82.0.4062.9 Safari/537.36
Chrome 82
Mac OS X 10.13.6
Desktop
4 years ago
Test name Executions per second
startsWith 1434.8 Ops/sec
.charAt 743.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • startsWith

  • .charAt