Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Includes 1928386.2 Ops/sec
IndexOf 80907.5 Ops/sec
Filter 99072.4 Ops/sec
Find 132582.2 Ops/sec
FindIndex 197568.1 Ops/sec
Some 169822.9 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some