loops

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
for
const arr = [1,2,3,4,5]
for (let i = 0; i < arr.length; i++) {
  console.log(i)
}
ready
loop
const arr = [1,2,3,4,5]
arr.map(i => console.log(i))
ready

Revisions

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