Class Instantiation Speed

Benchmark created on


Setup

class FooBar {
	baz () {}
}


const initialized = new FooBar();

Test runner

Ready to run.

Testing in
TestOps/sec
Already Initialized
initialized.baz()
ready
Init and call
const init = new FooBar();
init.baz()
ready

Revisions

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