Do you Know LLVM XRay?
You might be missing out
XRay is a lightweight, unobtrusive profiler that is a sub-project of the LLVM compiler suite. It comes installed by default into the llvm infrastructure.
XRay works by injecting code during the compilation process. This approach is different from Valgrind that works more or less like a virtual machine, thus slowing down the application significantly. I…