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 1133492.6 Ops/sec
JSON.stringify Level 1 624017.8 Ops/sec
_.isEqual Level 2 728397.7 Ops/sec
JSON.stringify Level 2 612628.6 Ops/sec
_.isEqual Level 3 507159.3 Ops/sec
JSON.stringify Level 3 590324.2 Ops/sec
shallowEqual Level 1 1228186.0 Ops/sec
shallowEqual Level 2 1021653.8 Ops/sec
shallowEqual Level 3 1023055.2 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


;