Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-A510F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36
Chrome Mobile 74
Android 7.0
Mobile
5 years ago
Test name Executions per second
_.isEqual Level 1 34045.8 Ops/sec
JSON.stringify Level 1 40484.2 Ops/sec
_.isEqual Level 2 20962.7 Ops/sec
JSON.stringify Level 2 39202.5 Ops/sec
_.isEqual Level 3 16084.0 Ops/sec
JSON.stringify Level 3 40424.9 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