• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by John Dev


09 Jan, 2025

Updated at 18 Jan, 2025

Profiling by thread

Hello Community,

I am developing a multi-threaded rust application where many threads continuously run a computationally heavy optimization algorithm. I am looking for performance bottlenecks in each of the algorithms, but I am having a hard time producing correct profiling information and flamegraphs.

Every flamegraph that I create always seems to be missing stack information from some of the running threads?

Does anyone know a good way of profiling threads individually in rust? Currently I am thinking about just learning perf and solely relying on that but cargo flamegraph seems a little more convenient.

Kind regards,
Christian

1 post - 1 participant

Read full topic