Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Includes 1183393.1 Ops/sec
IndexOf 135314.5 Ops/sec
Filter 88264.6 Ops/sec
Find 98525.7 Ops/sec
FindIndex 15373.8 Ops/sec
Some 42812.3 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some