Script Preparation code:
Tests:
  • includes check on missing value

  • includes check on existing value

  • hash set an existing value

  • hash set a missing value

  • hash check for missing value then set

  • hash check for existing value

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    includes check on missing value
    includes check on existing value
    hash set an existing value
    hash set a missing value
    hash check for missing value then set
    hash check for existing value

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/90.0.818.66
Chrome 90 on Windows
View result in a separate tab
Test name Executions per second
includes check on missing value 775814.8 Ops/sec
includes check on existing value 7120866.5 Ops/sec
hash set an existing value 7930927.5 Ops/sec
hash set a missing value 9079996.0 Ops/sec
hash check for missing value then set 10089365.0 Ops/sec
hash check for existing value 8676646.0 Ops/sec