Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Windows
Desktop
one year ago
Test name Executions per second
regex 493697.8 Ops/sec
split 2183253.0 Ops/sec
indexOf1 1017272.8 Ops/sec
indexOf2 1030514.8 Ops/sec
singleChar 285957.2 Ops/sec
Script Preparation code:
Tests:
  • regex

  • split

  • indexOf1

  • indexOf2

  • singleChar


;