Tests:
-
Object.keys() + .dataset
-
Array.from() + .attributes
-
for + .attributes
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Mac OS X 10.15.7
View result in a separate tab
Object.keys() + .dataset
956K/s
Array.from() + .attributes
795K/s
View exact numbers
| Test name |
Executions per second |
|
✓
for + .attributes
|
1,026,423 Ops/sec |
|
Object.keys() + .dataset
|
955,686 Ops/sec |
|
Array.from() + .attributes
|
794,734 Ops/sec |
Do you really want to delete benchmark?