Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Windows
Desktop
11 months ago
Test name Executions per second
indexOf 1328633.4 Ops/sec
includes 1329868.4 Ops/sec
find 1109273.2 Ops/sec
findIndex 1083270.2 Ops/sec
set 1466837.0 Ops/sec
object lookup 4039137.5 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • includes

  • find

  • findIndex

  • set

  • object lookup