Increment an integer (v4)

Revision 4 of this benchmark created by Jayr Magave on


Test runner

Ready to run.

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

Revisions

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

  • Revision 1: published by MathRobin on
  • Revision 2: published by capiainemousse on
  • Revision 3: published by GromNaN on
  • Revision 4: published by Jayr Magave on
  • Revision 5: published on