Script Preparation code:
Tests:
  • Get from Object

  • Get from Map

  • Has key in Map

  • Has key in Array OLD

  • Has key in Array NEW

  • Has key in Set

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Get from Object
    Get from Map
    Has key in Map
    Has key in Array OLD
    Has key in Array NEW
    Has key in Set

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86 on Windows 8.1
View result in a separate tab
Test name Executions per second
Get from Object 142965520.0 Ops/sec
Get from Map 4172566.8 Ops/sec
Has key in Map 2195928.2 Ops/sec
Has key in Array OLD 1303.3 Ops/sec
Has key in Array NEW 1448.0 Ops/sec
Has key in Set 5649638.5 Ops/sec