Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
Safari 12
Mac OS X 10.14.4
Desktop
5 years ago
Test name Executions per second
_.isEqual Level 1 650956.9 Ops/sec
JSON.stringify Level 1 332255.8 Ops/sec
_.isEqual Level 2 425987.4 Ops/sec
JSON.stringify Level 2 361809.0 Ops/sec
_.isEqual Level 3 303112.0 Ops/sec
JSON.stringify Level 3 359436.8 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