Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6; managedpc) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14
Safari 10
Mac OS X 10.11.6
Desktop
6 years ago
Test name Executions per second
_.isEqual Level 1 513853.7 Ops/sec
JSON.stringify Level 1 299090.6 Ops/sec
_.isEqual Level 2 310293.2 Ops/sec
JSON.stringify Level 2 291130.4 Ops/sec
_.isEqual Level 3 223188.0 Ops/sec
JSON.stringify Level 3 284271.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual Level 1

  • JSON.stringify Level 1

  • _.isEqual Level 2

  • JSON.stringify Level 2

  • _.isEqual Level 3

  • JSON.stringify Level 3