Rust performance 101 in 5 minutes

1 · Graham King · June 16, 2021, 4:01 a.m.
Is your Rust program CPU bound? Here are the very first things you can do on Linux. First be sure the CPU really is the bottleneck. htop should tell you, or that aircraft-taking-off fan noise. Second isolate the part you are concerned about into a program (or unit test or benchmark) that you can run […]...