Script Preparation code:
Tests:
  • Includes

  • Object[key]

  • Set.has

  • map.has

  • key in obj

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Includes
    Object[key]
    Set.has
    map.has
    key in obj

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 24 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Windows
View result in a separate tab
Test name Executions per second
Includes 1332641.1 Ops/sec
Object[key] 14625378.0 Ops/sec
Set.has 15797105.0 Ops/sec
map.has 15849242.0 Ops/sec
key in obj 14158992.0 Ops/sec


;