Lodash isEqual test

Test on isEqual performance
2 years ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36
Test name Executions per second
_.isEqual Level 1 701968.6 Ops/sec
JSON.stringify Level 1 486881.7 Ops/sec
_.isEqual Level 2 454427.9 Ops/sec
JSON.stringify Level 2 504840.8 Ops/sec
_.isEqual Level 3 361323.4 Ops/sec
JSON.stringify Level 3 516748.3 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