Run details:
Mozilla/5.0 (Linux; Android 10; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
_.isEqual Level 1 428797.4 Ops/sec
JSON.stringify Level 1 258172.6 Ops/sec
_.isEqual Level 2 285366.5 Ops/sec
JSON.stringify Level 2 260426.1 Ops/sec
_.isEqual Level 3 220006.0 Ops/sec
JSON.stringify Level 3 261338.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