Test functions vs no functions (v6)

Revision 6 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Lots of functions
let cached_value = undefined;
function stuff(){
	if(cached_value!==undefined)
		cached_value = 123;
	return cached_value
}

const foobar = stuff();
ready
Fewer functions
let cached_value = undefined;
cached_value = 123;

const foobar = cached_value;
ready

Revisions

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