Run details:
Mozilla/5.0 (Linux; Android 7.0; LG-M250) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android 7.0
Mobile
one year ago
Test name Executions per second
regex 48958.5 Ops/sec
split 182116.2 Ops/sec
indexOf1 91808.8 Ops/sec
indexOf2 89320.8 Ops/sec
singleChar 38821.2 Ops/sec
Script Preparation code:
Tests:
  • regex

  • split

  • indexOf1

  • indexOf2

  • singleChar


;