Sub-cards (0)Archived
Comments (3)

A fun case study in low-level optimizations:


Non-obvious things that can affect execution time:

  • link order (affects code layout, changes function addresses)

  • environment variables (moves the program stack)

Up to 40% difference claimed in the talk.

Profile picture

Use their tool “Stabilizer” for performance measurement. It randomizes the layout at runtime to eliminate the bias of code layout.

Profile picture

The talk also discusses the relation between throughput and latency according to Little’s Law.