Test case name | Result |
---|---|
angular.copy() | |
JSON.parse(JSON.stringify()) | |
_.colneDeep() | |
angular.fromJson(angular.toJson()) |
Test name | Executions per second |
---|---|
angular.copy() | 474922.6 Ops/sec |
JSON.parse(JSON.stringify()) | 290349.8 Ops/sec |
_.colneDeep() | 285128.5 Ops/sec |
angular.fromJson(angular.toJson()) | 189181.5 Ops/sec |