pow-vs-literal-with-pow-change

Benchmark created on


Setup

var backup = Math.pow;
    Math.pow = function() { return 0.00000000000001; }

Teardown


    Math.pow = backup;
  

Test runner

Ready to run.

Testing in
TestOps/sec
pow
Math.pow(10, -14);
ready
literal
0.00000000000001;
ready

Revisions

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