Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36
Chrome 98
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Includes 997805.6 Ops/sec
IndexOf 235431.0 Ops/sec
Filter 166962.1 Ops/sec
Find 192580.1 Ops/sec
FindIndex 194468.2 Ops/sec
Some 191158.2 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some