Script Preparation code:
Tests:
  • Map.get() !== undefined

  • Map.has() + .get()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Map.get() !== undefined
    Map.has() + .get()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Firefox 140 on Linux
View result in a separate tab
Test name Executions per second
Map.get() !== undefined 94123.2 Ops/sec
Map.has() + .get() 73214.4 Ops/sec