plus one vs plusplus (v10)

Revision 10 of this benchmark created on


Preparation HTML

<script>
  var a = 0;
  var b = 1;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Plus 1
a += 1;
a = 0;
ready
APlusPlus
a++;
a = 0;
ready
Plus Variable
a += b;
a = 0;
ready
PlusPlusA
++a;
a = 0;
ready

Revisions

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