summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorAnatoli Papirovski <anatoli.papirovski@postmates.com>2019-03-31 12:41:14 -0700
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-04-05 05:37:01 +0200
commitd3d4e10107a594a758baf2cd5e2c1258671e58c5 (patch)
tree633fd85a27faf2cb3666a0c49bdf0f9db10aa206 /benchmark
parentaf03de48d89175a9ef712228786a83968ff788df (diff)
downloadnode-new-d3d4e10107a594a758baf2cd5e2c1258671e58c5.tar.gz
async_hooks: improve AsyncResource performance
Accessing symbols is generally quite expensive and so is emitInit, only do both when actually required. PR-URL: https://github.com/nodejs/node/pull/27032 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark')
0 files changed, 0 insertions, 0 deletions