i++ vs i += 1

Benchmark created by 51L3N7 on


Setup

i = 0;

Test runner

Ready to run.

Testing in
TestOps/sec
i++
i++;
ready
i += 1
i += 1;
ready

Revisions

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