Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Ubuntu
Desktop
5 years ago
Test name Executions per second
_.isEqual Level 1 464241.7 Ops/sec
JSON.stringify Level 1 311360.6 Ops/sec
_.isEqual Level 2 260445.3 Ops/sec
JSON.stringify Level 2 323983.0 Ops/sec
_.isEqual Level 3 179060.3 Ops/sec
JSON.stringify Level 3 350759.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