Run details:
Mozilla/5.0 (Linux; Android 12; LE2101) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
one year ago
Test name Executions per second
character index 3773174.8 Ops/sec
charAt() 3830301.5 Ops/sec
slice() 3796412.5 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()