Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Chrome 81
Windows
Desktop
4 years ago
Test name Executions per second
Includes 1110490.5 Ops/sec
IndexOf 123956.3 Ops/sec
Filter 55247.7 Ops/sec
Find 72291.8 Ops/sec
FindIndex 74253.4 Ops/sec
Some 90203.9 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some