firefox-devtools / profiler

Firefox Profiler — Web app for Firefox performance analysis
https://profiler.firefox.com
Mozilla Public License 2.0
1.19k stars 389 forks source link

Group or collapse samples by leaf C++ namespace #239

Open jimblandy opened 7 years ago

jimblandy commented 7 years ago

Alongside the rough categories we have now, it would be helpful to all Gecko developers to group samples by the namespace of the leaf function, when it is C++. This would automatically distribute blame among categories of code meaningful to the programmer, like "js::" and "js::jit::" and "js::gc::". Better yet, it would help developers working in areas of the code base that we've never even heard of, who just happen to be using namespaces in their C++ code.

┆Issue is synchronized with this Jira Task

gregtatum commented 7 years ago

How would this information be surfaced in the UI?

clarkbw commented 7 years ago

Perhaps collapse "frames of this type" into a single frame on the callstack. So inverting the tree gives you the list you want to see.