> On Dec 11, 2017, at 6:42 AM, Alexander Yakushev <[email protected]> wrote: > > I've just released a wrapper around > https://github.com/jvm-profiling-tools/async-profiler that allows controlling > the profiler directly from the REPL of the program you want to profile. The > JAR file ships the profiling agent and the flamegraph generation script from > https://github.com/brendangregg/FlameGraph, so that you can profile your code > and instantly generate flame graphs from it. > > Introductory blog post: > http://clojure-goes-fast.com/blog/profiling-tool-async-profiler/ > Repository: https://github.com/clojure-goes-fast/clj-async-profiler > > Hope you'll like it!
Like it?? I had to *physically prevent* myself from dropping what I was doing to hack on this, already having a full plate at work … I've wanted something like this for such a long time! My first reaction is to create a pedestal interceptor that allows you to remotely trigger a flamegraph. I first saw this in rack-mini-profiler <https://github.com/MiniProfiler/rack-mini-profiler> though I'm sure others have done it too. My second reaction is to wonder how difficult it would be to aggregate samples across a cluster of machines running the same code, similar to riemann-jvm-profiler <https://github.com/riemann/riemann-jvm-profiler>. My third reaction is to wonder how close you can get to having an "always on" flamegraph. I want a scrubber so I can reintroduce the time dimension. Imagine having a report of some perf issues and being able to say "let's go see what the flamegraph looked like at that time" - that'd be some Star Trek level observability right there. Great work! Luke. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
