Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 OPR/92.0.0.0 (Edition beta)
Opera 92
Windows 8.1
Desktop
2 years ago
Test name Executions per second
IndexOf 4642110.0 Ops/sec
Includes 5368250.0 Ops/sec
some 5130680.5 Ops/sec
find 5113633.0 Ops/sec
for loop 892331.9 Ops/sec
in 5375645.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • IndexOf

  • Includes

  • some

  • find

  • for loop

  • in