quotient's floor / set 1

Benchmark created by Lidia on


Preparation HTML

<script>
  var x = 295102, 
      y = 60761;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Math.floor(x/y)
Math.floor(x/y)
ready
(x-x%y)/y
(x-x%y)/y
ready
~~(x/y)
~~(x/y)
ready
x/y|0
x/y|0
ready

Revisions

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