Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows 7
Desktop
6 years ago
Test name Executions per second
_.isEqual Level 1 113046.8 Ops/sec
JSON.stringify Level 1 62562.9 Ops/sec
_.isEqual Level 2 87447.8 Ops/sec
JSON.stringify Level 2 143334.8 Ops/sec
_.isEqual Level 3 63621.3 Ops/sec
JSON.stringify Level 3 136402.6 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