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 855093.0 Ops/sec
JSON.stringify Level 1 493757.1 Ops/sec
_.isEqual Level 2 511620.3 Ops/sec
JSON.stringify Level 2 515395.5 Ops/sec
_.isEqual Level 3 401396.7 Ops/sec
JSON.stringify Level 3 607404.1 Ops/sec
shallowEqual Level 1 1218746.2 Ops/sec
shallowEqual Level 2 1019054.9 Ops/sec
shallowEqual Level 3 1035363.4 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