test

Benchmark created on


Preparation HTML

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

function concat(n, m) {
	return n.concat(m);
}

var n = [1,2,3];
var m = 6;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
spread
spread(n,m);
ready
concat
concat(n,m);
ready

Revisions

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