Lodash isEqual test

Test on isEqual performance
3 years ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Test name Executions per second
_.isEqual Level 1 790367.1 Ops/sec
JSON.stringify Level 1 420449.8 Ops/sec
_.isEqual Level 2 530116.9 Ops/sec
JSON.stringify Level 2 421819.9 Ops/sec
_.isEqual Level 3 395095.9 Ops/sec
JSON.stringify Level 3 415218.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

Open this result on MeasureThat.net