class with func defintion (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
func
class Test {
	myFunction () {}
}

for (let i = 0; i < 10000; ++i) {
	let x = new Test();
}
ready
arrow
class Test {
	myFunction = () => {}
}

for (let i = 0; i < 10000; ++i) {
	let x = new Test();
}
ready

Revisions

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