For test (v2)

Revision 2 of this benchmark created on


Description

Test the fastest for loop

Test runner

Ready to run.

Testing in
TestOps/sec
ForEach
const a = [0,1,2,3,4,5]

a.forEach(b=>{
	console.log(b)
})
ready
For of
const a = [0,1,2,3,4,5]

for(let b of a){
	console.log(b)
}
ready
For i
const a = [0,1,2,3,4,5]

for(let i= 0; i<a;i++){
	console.log(i)
}
ready

Revisions

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