Iterating through loops

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
forEach
var arr = new Array(10000).fill('foo')

arr.forEach(() => null)
ready
For loop
var arr = new Array(10000).fill('foo')

for(val of arr){
	continue;
}
ready

Revisions

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