Script Preparation code:
Tests:
  • Var++

  • ++var

  • Var+=1

  • Var=var+1

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Var++
    ++var
    Var+=1
    Var=var+1

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063
Chrome 52 on Windows
View result in a separate tab
Test name Executions per second
Var++ 69117856.0 Ops/sec
++var 64317740.0 Ops/sec
Var+=1 67127464.0 Ops/sec
Var=var+1 70044096.0 Ops/sec


;