Run details:
Mozilla/5.0 (Linux; Android 8.0.0; MHA-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36
Chrome Mobile 73
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
_.isEqual Level 1 270996.1 Ops/sec
JSON.stringify Level 1 164284.6 Ops/sec
_.isEqual Level 2 90451.6 Ops/sec
JSON.stringify Level 2 165967.0 Ops/sec
_.isEqual Level 3 139154.4 Ops/sec
JSON.stringify Level 3 103463.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