Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
i++, ++i, i+=1
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Mobile/15E148 Safari/604.1
Browser:
Mobile Safari 18
Operating system:
iOS 18.0.1
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
i++
449274592.0 Ops/sec
i--
176440304.0 Ops/sec
++i
346580416.0 Ops/sec
i=i+1
178198928.0 Ops/sec
i+=1
175071920.0 Ops/sec
i=i-1
175992336.0 Ops/sec
Script Preparation code:
var i=100;
Tests:
i++
i++
i--
i--
++i
++i
i=i+1
i=i+1
i+=1
i+=1;
i=i-1
i=i-1