calling-stub-function

Benchmark created on


Setup

function convert(cc) {
    return cc;
    }

Test runner

Ready to run.

Testing in
TestOps/sec
call-stub
var r;
for (var i = 0; i < 99999; ++i) {
  r = convert(i);
}
ready
not-calling-stub
var r;
for (var i = 0; i < 99999; ++i) {
  r = i;
}
ready

Revisions

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