test

Benchmark created on


Setup

var data = [...Array(1000).keys()]

Test runner

Ready to run.

Testing in
TestOps/sec
for
var result= []
for (var d of data) {
	result.push(d);
}
ready
foreach
var result= []
data.forEach(d => result.push(d))
ready

Revisions

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