You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a reland of #3165. The patch abates
the truncation of script filenames in the perf-event output produced by V8.
V8 commits:
Original: v8/v8@03ef3cd
Reland: v8/v8@010897c
Original commit message:
improve perf_basic_prof filename reporting
The buffer used for appending filenames to the string printed to the
perf_basic_prof log was unnecessarily too small. Bump it up to be at least
kUtf8BufferSize.
Truncation of filenames makes it really hard to work with profiles gathered on
Node.js. Because of the way Node.js works, you can have node module dependencies
in deeply nested directories. The last thing you want when investigating a
performance problem is to have script names be truncated.
This patch is a stop-gap. Ideally, I want no truncation of the filename at all
and use a dynamically growing buffer. That would be a larger change, and I
wanted to have a quick fix available that can be back-ported to Node.js LTS
release.
[email protected],[email protected]
BUG=
Review URL: https://codereview.chromium.org/1388543002
PR-URL: #3520
Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
0 commit comments