Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Chrome 97
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Includes 1736041.9 Ops/sec
IndexOf 84336.7 Ops/sec
Filter 110993.8 Ops/sec
Find 132621.7 Ops/sec
FindIndex 184360.5 Ops/sec
Some 152423.5 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some