Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36
Chrome 96
Windows
Desktop
3 years ago
Test name Executions per second
Includes 1310589.2 Ops/sec
IndexOf 70346.6 Ops/sec
Filter 2927.5 Ops/sec
Find 116487.5 Ops/sec
FindIndex 111439.7 Ops/sec
Some 111658.8 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some