Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.5517.198 Safari/537.36 OPR/96.0.3796.44
Opera 96
Mac OS X 10.14
Desktop
one year ago
Test name Executions per second
character index 1037158.0 Ops/sec
charAt() 1037646.4 Ops/sec
slice() 1024692.9 Ops/sec
at() 976991.1 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()

  • at()


;