Names are intentionally omitted in production builds (unless explicitly enabled) to avoid increasing the binary size.
Always having the names available would indeed be convenient for debugging, but it's not currently an option.
You could try using "Chrome for Testing" instead (see https://developer.chrome.com/blog/chrome-for-testing/), which I believe should have the names enabled.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Names are intentionally omitted in production builds (unless explicitly enabled) to avoid increasing the binary size.
Always having the names available would indeed be convenient for debugging, but it's not currently an option.
You could try using "Chrome for Testing" instead (see https://developer.chrome.com/blog/chrome-for-testing/), which I believe should have the names enabled.
I approve of your opinion that name omitted in production builds to avoid increasing the binary size. But some blink objects has explicitly specified names inherited NameProvider, we can obtain these blink objects name using NameProvide::GetHumanReadableName, the Human-readable name of these object is used to show in devtools heap snapshot. it doesn't increase the binary size. I think it is necessary that show these blink object in memory-infra.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This is not exposting the names but merely providing stats that squash all types under "InternalType", right?
Display size and count of blink dom objects in memory-infra.
Please add a title to your CL and format it accordingly.
"""
Title
Description...
Bug:
"""
* Statistics for object allocated on the page. The dom objects name was
We generally don't refer to terms like DOM from V8 as that concept doesn't exist here on the API.
If we go through with this change, this would need to saysomething along the lnes of
"Statistics for object allocated on the page. Note that objects without names are coerced to a single type."
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This is not exposting the names but merely providing stats that squash all types under "InternalType", right?
If an object inherit from class NameProvider and override NameInHeapSnapshot function, it will display name returned by this function, just like in devtool heap snapshot, and other object will squash all types under "InternalType".
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |