Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
okay, comments here so far make me upset and somewhat disappointed :/
@heyheni ooooh boi did I LOL to that :D -
@heyheni it's all the stack traces aggregated in the same image. The wider the cell (with a method/fn name), the longer time it consumed. Branches above a particular cell represent other methods THAT method called (and their durations). On mouse-over you can see invocations' count, time spent in-method (numeric value). Image can be made searchable, i.e. with a search input field, to find particular methods/classes/functions quicker. Clicking on either of the cells (methods/functions) zooms on that branch.
I mean... It's the whole fucking profiler snapshot in a single fucking svg!
How come don't people know that yet!?!?
http://brendangregg.com/FlameGraphs... -
Of course flame graphs are super useful and widely used in good teams.
I do love it but it's a question of taste and habits. -
I guess it's super useful. But it'll need so much explaining that adoption in a team will be super hard.
-
@heyheni it’s standard devtools knowledge and doesn’t require fancy pants setup :(
-
They're useful sometimes. definitely used them on occasion when I need to justify removing jQuery from an application. Powering them from query able datasets (where stack depth > x/lifetime greater than y average duration) is also good to reduce it to the things that are above average.
Related Rants
## Scripting myself out of the company
who needs an expensive profiler, when you can make thread dumps and compile them into a flamegraph for free without any risk of outages!
Though what bothers me is that I'm yet to come across a person in this company who knows how to read them (besides me)...
Are flamegraphs really THAT unpopular?
I mean.. you can represent the whole profile in a single image!
random
thread dump
stack
flamegraphs
profiler
performance