Deconstruction

Benchmark created on


Setup

const a = {
	one: 1,
	two: 2,
	three: 3
}

Test runner

Ready to run.

Testing in
TestOps/sec
Old
const one = a.one;
const two = a.two;
const three = a.three;
ready
New
const {one, two, three} = a
ready

Revisions

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