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/92.0.4515.131 Safari/537.36
Test name Executions per second
_.isEqual Level 1 860015.3 Ops/sec
JSON.stringify Level 1 408674.2 Ops/sec
_.isEqual Level 2 541155.3 Ops/sec
JSON.stringify Level 2 406505.7 Ops/sec
_.isEqual Level 3 410876.2 Ops/sec
JSON.stringify Level 3 409501.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