Lodash isEqual test

Test on isEqual performance
4 years ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Test name Executions per second
_.isEqual Level 1 741997.8 Ops/sec
JSON.stringify Level 1 359863.2 Ops/sec
_.isEqual Level 2 452795.8 Ops/sec
JSON.stringify Level 2 359526.8 Ops/sec
_.isEqual Level 3 314203.4 Ops/sec
JSON.stringify Level 3 358241.4 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