arrow functions

Benchmark created on


Setup

const arrow = () => null
function traditional() {
	return null
}
function traditional_bind() {
	return null
}.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.