Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1
Safari604.1
iOS 11.3
Mobile
6 years ago
Test name Executions per second
_.isEqual Level 1 374260.4 Ops/sec
JSON.stringify Level 1 228497.0 Ops/sec
_.isEqual Level 2 203931.1 Ops/sec
JSON.stringify Level 2 250241.9 Ops/sec
_.isEqual Level 3 145026.8 Ops/sec
JSON.stringify Level 3 241832.0 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