n = n + 1 or n++ (v7)

Revision 7 of this benchmark created on


Preparation HTML

<script>
var n = 0;
</script>

Teardown


    console.log(n);
  

Test runner

Ready to run.

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

Revisions

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