Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65
Ubuntu
Desktop
5 years ago
Test name Executions per second
_.isEqual Level 1 319292.2 Ops/sec
JSON.stringify Level 1 202305.5 Ops/sec
_.isEqual Level 2 125733.5 Ops/sec
JSON.stringify Level 2 194682.6 Ops/sec
_.isEqual Level 3 115315.9 Ops/sec
JSON.stringify Level 3 202683.7 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