Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 12_4_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Chrome 89
Mac OS X 12.4.0
Desktop
2 years ago
Test name Executions per second
indexOf 5054060.0 Ops/sec
split 1857336.0 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • split