Test case name | Result |
---|---|
angular.copy() | |
JSON.parse(JSON.stringify()) | |
structuredClone(origArr) |
Test name | Executions per second |
---|---|
angular.copy() | 772346.3 Ops/sec |
JSON.parse(JSON.stringify()) | 265098.7 Ops/sec |
structuredClone(origArr) | 141748.2 Ops/sec |