Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Chrome 91
Mac OS X 10.14.6
Desktop
3 years ago
Test name Executions per second
Includes 1474430.5 Ops/sec
IndexOf 113266.1 Ops/sec
Filter 130595.1 Ops/sec
Find 277020.8 Ops/sec
FindIndex 227645.3 Ops/sec
Some 266800.8 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some