Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 OPR/44.0.2510.857
Opera 44
Windows
Other
7 years ago
Test name Executions per second
substr 4276121.0 Ops/sec
index 3428445.5 Ops/sec
Script Preparation code:
Tests:
  • substr

  • index


;