Tests:
-
Object.fromEntries
-
Reduce (reuse object)
-
Reduce (creating temporary objects)
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
10 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0
Firefox 140 on Windows
View result in a separate tab
Reduce (reuse object)
17K/s
Reduce (creating temporary objects)
0/s
View exact numbers
| Test name |
Executions per second |
|
✓
Reduce (reuse object)
|
16,656 Ops/sec |
|
Object.fromEntries
|
7,996 Ops/sec |
|
Reduce (creating temporary objects)
|
0 Ops/sec |
Do you really want to delete benchmark?