Impact of Function Arguments

Benchmark created by BretCameron on


Setup

function multiplyBy3(x) {
    return x * 3;
  };
  
  function multiply(x, y) {
    return x * y;
  };

Test runner

Ready to run.

Testing in
TestOps/sec
One Argument
multiplyBy3(2);
ready
Two Arguments
multiply(2, 3);
ready

Revisions

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

  • Revision 1: published by BretCameron on