Lodash isEqual test

Test on isEqual performance
2 years ago
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
Test name Executions per second
_.isEqual Level 1 388561.8 Ops/sec
JSON.stringify Level 1 260282.6 Ops/sec
_.isEqual Level 2 265035.9 Ops/sec
JSON.stringify Level 2 278227.1 Ops/sec
_.isEqual Level 3 223886.4 Ops/sec
JSON.stringify Level 3 275686.9 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