Profiling large Rust applications online is difficult. Current profilers are not up to the job. When we need to analyze a Rust program’s performance, we often think about perf. To use perf, we need to: Install a complete perf program to sample stack traces. Use a set of script tools to process the file obtained by sampling. Visualize the output of the processing result in the previous step.