Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array find

  • Map has

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.hasOwnProperty
    Object in
    Array.indexOf
    direct
    Array find
    Map has

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123 on Linux
View result in a separate tab
Test name Executions per second
Object.hasOwnProperty 945507648.0 Ops/sec
Object in 891083392.0 Ops/sec
Array.indexOf 8324755.5 Ops/sec
direct 941446272.0 Ops/sec
Array find 45489.6 Ops/sec
Map has 790937088.0 Ops/sec


;