Do we have any good tools/techniques for profiling...
# coroutines
l
Do we have any good tools/techniques for profiling code involving coroutines? Standard JVM profilers don't work amazingly well since the call hierarchy isn't preserved in the stacktrace so it can be hard to see cumulative time of a method including subcalls
3
c
AFAIK, there are none so far. The main problem is coroutines that are currently suspended just don't exist w.r.t. the JVM, so tooling can't really say anything about them Monitoring tools (e.g. OpenTelemetry) may help with this, but I haven't tested them in depth