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
2 years 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