Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112
Linux
Desktop
one year ago
Test name Executions per second
_.isEqual Level 1 1122187.6 Ops/sec
JSON.stringify Level 1 633716.8 Ops/sec
_.isEqual Level 2 692744.5 Ops/sec
JSON.stringify Level 2 634989.9 Ops/sec
_.isEqual Level 3 525239.0 Ops/sec
JSON.stringify Level 3 646595.5 Ops/sec
shallowEqual Level 1 1310119.5 Ops/sec
shallowEqual Level 2 1026650.6 Ops/sec
shallowEqual Level 3 1025201.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

  • shallowEqual Level 1

  • shallowEqual Level 2

  • shallowEqual Level 3