Tests:
-
for loop
-
create array to iterate with for..of
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
6 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Chrome 143 on Mac OS X 10.15.7
View result in a separate tab
create array to iterate with for..of
804K/s
View exact numbers
| Test name |
Executions per second |
|
✓
create array to iterate with for..of
|
803,834 Ops/sec |
|
for loop
|
462,493 Ops/sec |
Do you really want to delete benchmark?