Lodash isEqual test

Test on isEqual performance
4 years ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0
Test name Executions per second
_.isEqual Level 1 492148.3 Ops/sec
JSON.stringify Level 1 311266.8 Ops/sec
_.isEqual Level 2 263698.0 Ops/sec
JSON.stringify Level 2 293578.7 Ops/sec
_.isEqual Level 3 179197.8 Ops/sec
JSON.stringify Level 3 333338.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

Open this result on MeasureThat.net