Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
benchmark:
util._extend
vs object.assign
To copy the values of all enumerable own properties from- a source object to a target object, node still use- `util._extend`, though newer standard `Object.assign` is available. This is because `util._extend` is found to be faster than `Object.assign`. This benchmark test is to keep track of how performance compare. PR-URL: #7255 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
- Loading branch information