Script Preparation code:
Tests:
  • instanceof test

  • in test

  • instanceof test again

  • proper type check

  • includes check

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    instanceof test
    in test
    instanceof test again
    proper type check
    includes check

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Firefox 138 on Windows
View result in a separate tab
Test name Executions per second
instanceof test 157504400.0 Ops/sec
in test 1553290624.0 Ops/sec
instanceof test again 160112240.0 Ops/sec
proper type check 1387363968.0 Ops/sec
includes check 45093188.0 Ops/sec