Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Windows
Desktop
one year ago
Test name Executions per second
indexOf 692314.1 Ops/sec
includes 680003.0 Ops/sec
find 635684.3 Ops/sec
findIndex 626465.8 Ops/sec
set 901963.8 Ops/sec
object lookup 2895626.8 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • includes

  • find

  • findIndex

  • set

  • object lookup