Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Chrome 99
Windows
Desktop
2 years ago
Test name Executions per second
Includes 2656901.8 Ops/sec
IndexOf 180422.5 Ops/sec
Filter 184259.0 Ops/sec
Find 298448.3 Ops/sec
FindIndex 352606.9 Ops/sec
Some 295673.0 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some