arrow functions (v2)

Revision 2 of this benchmark created on


Setup

const arrow = () => {
	const arrow = () => null
	return arrow()
}
function traditional() {
	function traditional() {
		return null
	}
	return traditional()
}
function traditional_bind() {
	function traditional_bind() {
		return null
	}
	traditional_bind.bind(null)
	return traditional_bind()
}
traditional_bind.bind(null)

Test runner

Ready to run.

Testing in
TestOps/sec
arrow
arrow()
ready
traditional
traditional()
ready
traditional_bind
traditional_bind()
ready

Revisions

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