Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Chrome 91
Mac OS X 10.14.6
Desktop
3 years ago
Test name Executions per second
Includes 1705042.8 Ops/sec
IndexOf 94037.8 Ops/sec
Filter 104415.4 Ops/sec
Find 119534.9 Ops/sec
FindIndex 101078.2 Ops/sec
Some 88105.2 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some