Test case name | Result |
---|---|
_.isEqual(window.foo1, window.bar1) | |
JSON.stringify(window.foo1) === JSON.stringify(window.bar1); |
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 |