Tests:
-
Using the spread operator
-
Using direct assignment
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Mac OS X 10.15.7
View result in a separate tab
Using direct assignment
8.5M/s
Using the spread operator
6.9M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Using direct assignment
|
8,469,316 Ops/sec |
|
Using the spread operator
|
6,859,494 Ops/sec |
Do you really want to delete benchmark?