Run details:
Mozilla/5.0 (Linux; Android 11; Mi 9 SE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
Test Spread operator 235047.0 Ops/sec
Test Object.create 95575.4 Ops/sec
Test Object.assign 226676.9 Ops/sec
Test New Object 107203.0 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object