minus equals numbers

Benchmark created on


Setup

var i = 0;

Test runner

Ready to run.

Testing in
TestOps/sec
Minus equals
for (var j = 0; j < 5000; j++) {
    i -= 1;
}
ready
i minus i
for (var j = 0; j < 5000; j++) {
    i = i - 1;
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.