Tests:
-
Using the spread operator
-
Using Object.assign
-
Babel
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145 on Windows
View result in a separate tab
Using the spread operator
42.2M/s
Using Object.assign
35.2M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Using the spread operator
|
42,229,236 Ops/sec |
|
Using Object.assign
|
35,228,268 Ops/sec |
|
Babel
|
9,224,046 Ops/sec |
Do you really want to delete benchmark?