Incrementer Position

Benchmark created by Trey Keown on


Setup

var x = 0;

Test runner

Ready to run.

Testing in
TestOps/sec
before, add
++x;
++x;
++x;
++x;
++x;
++x;
++x;
++x;
++x;
++x;
ready
after, add
x++;
x++;
x++;
x++;
x++;
x++;
x++;
x++;
x++;
x++;
ready
before, subtract
--x;
--x;
--x;
--x;
--x;
--x;
--x;
--x;
--x;
--x;
ready
after, subtract
x--;
x--;
x--;
x--;
x--;
x--;
x--;
x--;
x--;
x--;
ready

Revisions

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

  • Revision 1: published by Trey Keown on