test

Benchmark created on


Preparation HTML

<script>
function spread(n,m) {
	return {...n, ...m};
}

function regular(n, m) {
	return {a: n.a, b: n.b, c: n.c, d: m.d};
}

var n = {a: 1, b:2, c:3};
var m = {d: 4};
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
spread
spread(n,m)
ready
explicit key access
regular(n,m)
ready

Revisions

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