Run details:
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
Windows
Other
7 years ago
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
Script Preparation code:
Tests:
  • Var++

  • ++var

  • Var+=1

  • Var=var+1


;