Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Simple ID Compare 7584307.0 Ops/sec
_.isEqual Level 0 1445358.8 Ops/sec
JSON.stringify Level 0 1585152.2 Ops/sec
_.isEqual Level 1 1302834.1 Ops/sec
JSON.stringify Level 1 794091.6 Ops/sec
_.isEqual Level 2 895851.2 Ops/sec
JSON.stringify Level 2 829383.9 Ops/sec
_.isEqual Level 3 655076.6 Ops/sec
JSON.stringify Level 3 951244.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Simple ID Compare

  • _.isEqual Level 0

  • JSON.stringify Level 0

  • _.isEqual Level 1

  • JSON.stringify Level 1

  • _.isEqual Level 2

  • JSON.stringify Level 2

  • _.isEqual Level 3

  • JSON.stringify Level 3