multiplication vs division (v4)

Revision 4 of this benchmark created by Jens Nockert on


Preparation HTML

<script>
  var x;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
multiplication
x = 0.5 * 13;
x = 0.25 * 15;
ready
division
x = 13 / 2;
x = 15 / 4;
ready
logical shift
x = 13 >>> 1;
x = 15 >>> 2;
ready
arithmetic shift
x = 13 >> 1;
x = 15 >> 2;
ready

Revisions

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