Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Firefox 138
Windows
Desktop
one year ago
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
Script Preparation code:
Tests:
  • instanceof test

  • in test

  • instanceof test again

  • proper type check

  • includes check