Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox 67
Ubuntu
Desktop
5 years ago
Test name Executions per second
_.isEqual Level 1 414648.5 Ops/sec
JSON.stringify Level 1 227634.8 Ops/sec
_.isEqual Level 2 252316.0 Ops/sec
JSON.stringify Level 2 299266.2 Ops/sec
_.isEqual Level 3 161527.2 Ops/sec
JSON.stringify Level 3 327920.9 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