Lodash isEqual test

Test on isEqual performance
2 years ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.44
Test name Executions per second
_.isEqual Level 1 1016474.0 Ops/sec
JSON.stringify Level 1 557701.4 Ops/sec
_.isEqual Level 2 651787.9 Ops/sec
JSON.stringify Level 2 368799.0 Ops/sec
_.isEqual Level 3 431927.3 Ops/sec
JSON.stringify Level 3 485823.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