Function Arguments

Benchmark created by Ryan Gasparini on


Test runner

Ready to run.

Testing in
TestOps/sec
New Hotness Blank
function initialize(config) {
 config || (config = {});
};

initialize();
ready
Old Busted Blank
function initialize(config) {
 config = config || {};
};

initialize();
ready
New Hotness Set
function initialize(config) {
 config || (config = {});
};

initialize({
 status: true,
 length: 0
});
ready
Old Busted Set
function initialize(config) {
 config = config || {};
};

initialize({
 status: true,
 length: 0
});
ready

Revisions

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

  • Revision 1: published by Ryan Gasparini on