Run details:
Mozilla/5.0 (Linux; Android 10; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
_.isEqual Level 1 413391.9 Ops/sec
JSON.stringify Level 1 247472.4 Ops/sec
_.isEqual Level 2 269203.0 Ops/sec
JSON.stringify Level 2 248813.9 Ops/sec
_.isEqual Level 3 201687.3 Ops/sec
JSON.stringify Level 3 260524.8 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