Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Chrome 76
Windows
Desktop
5 years ago
Test name Executions per second
_.isEqual(window.foo1, window.bar1) 23487.0 Ops/sec
JSON.stringify(window.foo1) === JSON.stringify(window.bar1); 41637.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual(window.foo1, window.bar1)

  • JSON.stringify(window.foo1) === JSON.stringify(window.bar1);


;