Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0
Firefox 136
Mac OS X 10.15
Desktop
one year ago
Object.assign
19.2M/s
Destructuring
18.1M/s
View exact numbers
Test name Executions per second
Object.assign 19,201,438 Ops/sec
Destructuring 18,080,626 Ops/sec
Script Preparation code:
Tests: