Script Preparation code:
Tests:
  • if-check in for-of; true

  • if-check outside of for-of; true

  • if-check in for-of; false

  • if-check outside of for-of; false

  • if-check in for-loop: true

  • if-check outside of for-loop; true;

  • if-check in for-loop; false

  • if-check outside of for-loop; false

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    if-check in for-of; true
    if-check outside of for-of; true
    if-check in for-of; false
    if-check outside of for-of; false
    if-check in for-loop: true
    if-check outside of for-loop; true;
    if-check in for-loop; false
    if-check outside of for-loop; false

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
if-check in for-of; true 3636188.0 Ops/sec
if-check outside of for-of; true 3338492.5 Ops/sec
if-check in for-of; false 7263803.0 Ops/sec
if-check outside of for-of; false 7275218.5 Ops/sec
if-check in for-loop: true 4281429.5 Ops/sec
if-check outside of for-loop; true; 4186709.8 Ops/sec
if-check in for-loop; false 7632536.5 Ops/sec
if-check outside of for-loop; false 7271208.5 Ops/sec


;