Tests:
-
forEach()
-
for of
-
map()
-
for
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Linux
View result in a separate tab
View exact numbers
| Test name |
Executions per second |
|
✓
for of
|
1,160,330 Ops/sec |
|
forEach()
|
1,147,143 Ops/sec |
|
map()
|
1,039,985 Ops/sec |
|
for
|
1,017,533 Ops/sec |
Do you really want to delete benchmark?