Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
JSON.parse 487755.7 Ops/sec
Object.assign 2713420.8 Ops/sec
Script Preparation code:
Tests:
  • JSON.parse

  • Object.assign