Comparing performance of: Regular for loop vs Regular for loop with length variable vs For .. of vs For .. in vs Backwards for loop without increment vs Foreach loop vs Backwards for loop
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
Regular for loop
Regular for loop with length variable
For .. of
For .. in
Backwards for loop without increment
Foreach loop
Backwards for loop
Fastest:N/A
Slowest:N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one to run it!