Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Windows
Other
7 years ago
Test name Executions per second
Var++ 2586253.5 Ops/sec
++var 2590516.5 Ops/sec
Var+=1 2501189.8 Ops/sec
Var=var+1 2495352.8 Ops/sec
Script Preparation code:
Tests:
  • Var++

  • ++var

  • Var+=1

  • Var=var+1


;