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 1122188.0 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 1310120.0 Ops/sec
shallowEqual Level 2 1026651.0 Ops/sec
shallowEqual Level 3 1025201.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

  • shallowEqual Level 1

  • shallowEqual Level 2

  • shallowEqual Level 3