Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Safari/605.1.15
Safari 11
Linux
Desktop
2 years ago
Test name Executions per second
Test Spread operator 241729.2 Ops/sec
Test Object.create 194023.0 Ops/sec
Test Object.assign 303017.7 Ops/sec
Test New Object 1511632.2 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object