Measuring Performance

One of the more difficult aspects of systems programming is figuring out how to optimize work, and sometimes to even define what "optimize" means. Do we want more clear code, less memory consumption, lower latency responses, less variant real-time responses, better throughput etc etc. What happens when optimization goals conflict?

Anyhow, here's a list of interesting resources for measuring performance:

The flamegraph-rs README has an excellent section on performance work.

Here's a list of interesting reading on performance: