Actix tasks don't show their source location in tokio-console.
Expected Behavior
I would expect to see the source location of each task in tokio console
Current Behavior
Most of the source locations appear to be from inside tokio:
Possible Solution
It looks like this has been partially fixed in tokio: https://github.com/tokio-rs/tokio/pull/4483 but may need some additional work on the actix side as mentioned on reddit:
It is difficult to debug performance issues in async applications, such as actix-web. Most traditional profiling yields a nested async/future/tokio things but it's hard to discern where the actual bottlenecks are occurring. tokio-console is a useful tool to get better insights into async systems and it would be great if actix played nicely with it.
Actix tasks don't show their source location in tokio-console.
Expected Behavior
I would expect to see the source location of each task in tokio console
Current Behavior
Most of the source locations appear to be from inside tokio:
Possible Solution
It looks like this has been partially fixed in tokio: https://github.com/tokio-rs/tokio/pull/4483 but may need some additional work on the actix side as mentioned on reddit:
Steps to Reproduce (for bugs)
Context
It is difficult to debug performance issues in async applications, such as actix-web. Most traditional profiling yields a nested async/future/tokio things but it's hard to discern where the actual bottlenecks are occurring. tokio-console is a useful tool to get better insights into async systems and it would be great if actix played nicely with it.
Your Environment