Lodash isEqual test

Test on isEqual performance
3 years ago
User agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1
Test name Executions per second
_.isEqual Level 1 858453.6 Ops/sec
JSON.stringify Level 1 424287.3 Ops/sec
_.isEqual Level 2 524016.9 Ops/sec
JSON.stringify Level 2 408992.2 Ops/sec
_.isEqual Level 3 365828.8 Ops/sec
JSON.stringify Level 3 339727.1 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