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 5019572.5 Ops/sec
Includes 5322172.5 Ops/sec
some 5276220.5 Ops/sec
find 5251752.5 Ops/sec
for loop 887793.4 Ops/sec
in 5300101.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • IndexOf

  • Includes

  • some

  • find

  • for loop

  • in


;