diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-11-21 15:12:58 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-12-07 00:31:06 +0100 |
commit | 2a0ec9c6459f50301a989a6df1b89358c3a9158c (patch) | |
tree | f748a2f2009980ea9d0813e6493d7ed2ce7788df /test/parallel/test-stream2-push.js | |
parent | 5d2944d7b65840766bd8c4efef0af4e2680c0166 (diff) | |
download | android-node-v8-2a0ec9c6459f50301a989a6df1b89358c3a9158c.tar.gz android-node-v8-2a0ec9c6459f50301a989a6df1b89358c3a9158c.tar.bz2 android-node-v8-2a0ec9c6459f50301a989a6df1b89358c3a9158c.zip |
util: improve inspect's customInspect performance
This improves the performance to copy user options that are then
passed through to the custom inspect function.
The performance improvement depends on the complexity of the custom
inspect function. For very basic cases this is 100% faster than
before.
PR-URL: https://github.com/nodejs/node/pull/30659
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'test/parallel/test-stream2-push.js')
0 files changed, 0 insertions, 0 deletions