Tests:
  • Spread operator

  • JSON Parse

  • Object.assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Spread operator
    JSON Parse
    Object.assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Chrome 78 on Windows 7
View result in a separate tab
Test name Executions per second
Spread operator 732816800.0 Ops/sec
JSON Parse 734833200.0 Ops/sec
Object.assign 731918400.0 Ops/sec

Recommended literature: