Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Windows
Desktop
one year ago
Test name Executions per second
Includes 1788749.4 Ops/sec
IndexOf 812866.2 Ops/sec
Filter 208762.1 Ops/sec
Find 502038.0 Ops/sec
FindIndex 494932.7 Ops/sec
Some 484184.1 Ops/sec
Map 102891.0 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • IndexOf

  • Filter

  • Find

  • FindIndex

  • Some

  • Map