Topic domain

Performance Engineering

Measuring, modeling, and improving execution cost.

Articles
80
Clusters
8
Foundational
24
Intermediate
32
Advanced
24

Benchmark design and statistical validity.

  1. Warmup Transients and Detecting Steady State in Timed Loops
  2. Clock Sources and the Resolution Floor of a Timing Call
  3. Measurement Overhead and the Code the Compiler Deletes
  4. Quantiles from Finite Samples and Their Confidence Bands
  5. Confidence Intervals for the Difference Between Two Benchmark Runtimes
  6. Power, the Minimum Detectable Effect, and the Cost of Repeated Looks
All 10 in this cluster →

Sampling, instrumentation, and flame graphs.

  1. How Sampling Profilers Turn Timer Interrupts into Execution Profiles
  2. How Many Samples a Profile Needs Before Its Numbers Mean Anything
  3. Mapping Sampled Addresses Back to Functions and Source Lines
  4. Stack Unwinding With and Without Frame Pointers
  5. Building a Flame Graph from a Set of Stack Samples
  6. Counting Function Calls Without Losing the Call Count to Inlining
All 10 in this cluster →

Queuing, tails, and coordination omission.

  1. Little's Law: Concurrency, Arrival Rate, and Time in System
  2. Utilization and the Nonlinear Growth of Waiting Time
  3. Coordinated Omission and the Samples a Closed Loop Never Takes
  4. Means, Percentiles, and What a Tail Measurement Can Answer
  5. Decomposing End-to-End Latency into Waiting and Serving
  6. Aggregating Percentiles Across a Fleet Without Losing the Tail
All 10 in this cluster →

Contention, batching, and parallelism.

  1. Throughput, Latency, and Why Concurrency Is Not Parallelism
  2. Amdahl's Law and the Serial Fraction That Caps Speedup
  3. Critical Sections, Futexes, and What a Mutex Really Costs
  4. Batching and the Amortization of Per-Item Cost
  5. Sharded Counters, Padding, and False Sharing
  6. Bounded Queues and Backpressure as Throughput Control
All 10 in this cluster →

Allocation cost and locality effects.

  1. The Cost Tiers of a Single Allocation Request
  2. Bytes Fetched per Field: Layout as a Bandwidth Decision
  3. Working Set Size and the Miss-Rate Cliff
  4. Dependent Loads and the Cost of Pointer Chasing
  5. First-Touch Costs in Demand-Paged Memory
  6. Geometric Growth, Copy Cost, and Peak Footprint
All 10 in this cluster →

Syscall cost, buffering, and devices.

  1. Where a read() Syscall Spends Time Before It Reaches the Data
  2. What write() Actually Does Before Data Leaves the Process
  3. Readahead Policy and the Read Sizes the Page Cache Actually Sees
  4. What fsync Guarantees and What It Costs on Real Devices
  5. Alignment, O_DIRECT, and the Cost of Bypassing the Page Cache
  6. Zero-Copy Paths: What sendfile, splice, and mmap Remove
All 10 in this cluster →

Load models and headroom.

  1. Headroom Arithmetic: Turning a Load Forecast into a Replica Count
  2. Utilization Targets and the Knee of the Latency Curve
  3. Little's Law as a Consistency Check on Load Measurements
  4. Amdahl and Gustafson Bounds in Capacity Models
  5. Variance and the Effective Capacity of a Replica Pool
  6. Provisioning Lag and the Reaction Time of a Fleet
All 10 in this cluster →

Prioritizing work by measured impact.

  1. Amdahl's Law as a Ceiling on Optimization Returns
  2. Ranking Optimization Candidates by Expected Payoff
  3. Why the Busiest Stage Is Not Always the Critical Path
  4. Removing Work Before Making It Faster
  5. Measuring What a Component Costs by Taking It Away
  6. The Break-Even Hit Rate for Adding a Cache
All 10 in this cluster →

All Performance Engineering articles