Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Ubuntu
Desktop
4 years ago
Test name Executions per second
_.isEqual Level 1 459326.0 Ops/sec
JSON.stringify Level 1 278499.4 Ops/sec
_.isEqual Level 2 238538.5 Ops/sec
JSON.stringify Level 2 291671.6 Ops/sec
_.isEqual Level 3 184822.8 Ops/sec
JSON.stringify Level 3 287602.8 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