Tests:
  • let

    x
     
    for(let i = 0; i < 100; i++){
    }
  • var

     
    for(var i = 0; i < 100; i++){
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    let
    var

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393
Chrome 51 on Windows
View result in a separate tab
Test name Executions per second
let 212022.9 Ops/sec
var 28939314.0 Ops/sec