Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88
Mac OS X 11.2.0
Desktop
3 years ago
Test name Executions per second
_.isEqual Level 1 529601.8 Ops/sec
JSON.stringify Level 1 290421.4 Ops/sec
_.isEqual Level 2 370944.5 Ops/sec
JSON.stringify Level 2 265436.6 Ops/sec
_.isEqual Level 3 273664.7 Ops/sec
JSON.stringify Level 3 277732.5 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