Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
Chrome 93
Mac OS X 10.14.6
Desktop
3 years ago
Test name Executions per second
Includes 828122.4 Ops/sec
IndexOf 62184.5 Ops/sec
Filter 67536.3 Ops/sec
Find 110464.5 Ops/sec
FindIndex 83702.1 Ops/sec
Some 77442.3 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some