Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Ubuntu
Desktop
one year ago
Test name Executions per second
character index 184952544.0 Ops/sec
charAt() 164160864.0 Ops/sec
slice() 130657800.0 Ops/sec
at() 102388488.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()

  • at()


;