Run details:
Mozilla/5.0 (Linux; Android 12; CPH2211) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
character index 3345259.0 Ops/sec
charAt() 3356170.8 Ops/sec
slice() 3323640.5 Ops/sec
substr() 3275594.5 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()

  • substr()


;