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++ 69153192.0 Ops/sec
++var 72601840.0 Ops/sec
Var+=1 73187480.0 Ops/sec
Var=var+1 72796432.0 Ops/sec
Script Preparation code:
Tests:
  • Var++

  • ++var

  • Var+=1

  • Var=var+1


;