Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 OPR/73.0.3856.284
Opera 73
Windows 7
Desktop
3 years ago
Test name Executions per second
includes 4354009.5 Ops/sec
lookup 3754486.2 Ops/sec
indexof 3395739.5 Ops/sec
Script Preparation code:
Tests:
  • includes

  • lookup

  • indexof