Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Mac OS X 10.15.7
Desktop
3 months ago
Test name Executions per second
_.isEqual Level 1 2184327.5 Ops/sec
JSON.stringify Level 1 1893767.8 Ops/sec
_.isEqual Level 2 1403468.4 Ops/sec
JSON.stringify Level 2 1904392.9 Ops/sec
_.isEqual Level 3 1034892.7 Ops/sec
JSON.stringify Level 3 1901914.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