-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox profiler UI enhancements #10
Comments
Thanks for the helpful list and sharing your expectations! I wanted to mention 2 things related to your list: Custom counters trackWe don't support that at the moment. However we support custom graphs based on markers. The documentation is pretty sparse about that but you can see the type on the marker schema in https://github.com/firefox-devtools/profiler/blob/5b553306704847bd1367c535dc5d721dc119fc29/src/types/markers.js#L114-L119 Aggregate@padenot worked on an extension for the profiler called fouineur. I hope you'll find that useful! |
👍
Thanks, yep, I'm using these already. The small annoyance is that these graphs are associated with a thread. In the case I'm currently using them, it's ok because I would like to show allocations per thread. But in other scenarios (total memory), I would prefer to have them "global", but don't think I can specify that today. Also, a related annoyance is that counters graphs are put at the very bottom of the tracks. If you have multiple counters associated to a thread, they become hard to find. Similarly, I would prefer to have an "order" property on threads and counters tracks so that I could display/group them the way I want in the UI, instead on relying on the name of the thread track (that are still separated from counters).
Yeah, it could be solution, but plenty of folks are not necessarily using Firefox itself when browsing, or even willing to install an extension so it would be easier with a built-in solution 🙂 But I'll keep digging on solutions. A small fork on my side could be a solution in the interim. |
For example, to workaround this (partially, because counters are ordered separately), I had to add a "threadindex" before the name of the thread to enforce an order. The order that I provide by default is total CPU in descending order so that you get the most interesting threads at the top, which greatly improves readability. ultra/src/Ultra.Core/EtwConverterToFirefox.cs Line 310 in 7f828cd
|
There are several UI enhancements that would be worth to have in ultra.
For instance, many existing PRs done by @parttimenerd are basic stuffs that we really need to have in Firefox Profiler to make it usable:
JitCompile
orGCEvent
in ultra)Additionally, there are several other enhancements that I'm looking for:
Memory
,power
,Bandwidth
. This is very limiting. For example, I would like to display the memory for each GC generation but it seems that cannot achieve this with existing counter tracks.The text was updated successfully, but these errors were encountered: