Run details:
Mozilla/5.0 (Linux; Android 9; VOG-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36 Brave/74
Chrome Mobile 74
Android
Mobile
5 years ago
Test name Executions per second
_.isEqual Level 1 455306.6 Ops/sec
JSON.stringify Level 1 244539.6 Ops/sec
_.isEqual Level 2 285356.3 Ops/sec
JSON.stringify Level 2 247667.4 Ops/sec
_.isEqual Level 3 218160.7 Ops/sec
JSON.stringify Level 3 247790.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