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/104.0.0.0 Safari/537.36
Test name Executions per second
_.isEqual Level 1 1729869.0 Ops/sec
JSON.stringify Level 1 1081852.0 Ops/sec
_.isEqual Level 2 1123588.0 Ops/sec
JSON.stringify Level 2 1076626.0 Ops/sec
_.isEqual Level 3 834349.6 Ops/sec
JSON.stringify Level 3 1074338.0 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