Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36 Edg/102.0.1245.33
Chrome 102
Windows
Desktop
2 years ago
Test name Executions per second
Includes 1659751.1 Ops/sec
IndexOf 219432.8 Ops/sec
Filter 220898.0 Ops/sec
Find 321877.0 Ops/sec
FindIndex 323088.5 Ops/sec
Some 393263.8 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some