Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Windows
Desktop
2 years ago
Test name Executions per second
Includes 2237058.5 Ops/sec
IndexOf 1073390.6 Ops/sec
Filter 290162.0 Ops/sec
Find 254265.6 Ops/sec
FindIndex 545336.1 Ops/sec
Some 340960.8 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some