Test case name | Result |
---|---|
_.isEqual Level 1 | |
JSON.stringify Level 1 | |
_.isEqual Level 2 | |
JSON.stringify Level 2 | |
_.isEqual Level 3 | |
JSON.stringify Level 3 | |
shallowEqual Level 1 | |
shallowEqual Level 2 | |
shallowEqual Level 3 |
Test name | Executions per second |
---|---|
_.isEqual Level 1 | 1122188.0 Ops/sec |
JSON.stringify Level 1 | 633716.8 Ops/sec |
_.isEqual Level 2 | 692744.5 Ops/sec |
JSON.stringify Level 2 | 634989.9 Ops/sec |
_.isEqual Level 3 | 525239.0 Ops/sec |
JSON.stringify Level 3 | 646595.5 Ops/sec |
shallowEqual Level 1 | 1310120.0 Ops/sec |
shallowEqual Level 2 | 1026651.0 Ops/sec |
shallowEqual Level 3 | 1025201.0 Ops/sec |