Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
5 years ago
Test name Executions per second
_.isEqual Level 1 198564.4 Ops/sec
JSON.stringify Level 1 108558.9 Ops/sec
_.isEqual Level 2 120987.4 Ops/sec
JSON.stringify Level 2 99299.6 Ops/sec
_.isEqual Level 3 91011.5 Ops/sec
JSON.stringify Level 3 113472.1 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