Decide Whether a Nightly Benchmark Drop Is a Real Regression
Last updated: November 29, 2026
Quick Overview
A nightly performance suite on Xeon reference servers shows a compiler change dropped a throughput benchmark by 1.8 percent compared with last week. Explain how you would decide whether the regression is real and attributable to that change, given that run-to-run noise is about 1 percent.
Intel
November 29, 20260
0
0 solved
A nightly performance suite on Xeon reference servers shows a compiler change dropped a throughput benchmark by 1.8 percent compared with last week. Explain how you would decide whether the regression is real and attributable to that change, given that run-to-run noise is about 1 percent.
Intel's compiler, library and kernel teams run large performance farms, and both missed regressions and false alarms are costly. The interviewer checks experimental design under noise, choice of statistical test, and practical controls such as frequency, thermal and system state.
What the Interviewer Expects
- Quantifies noise from repeated runs rather than trusting one number
- Proposes interleaved A/B runs of old and new builds on the same machines
- Uses an appropriate test or confidence interval on log throughput
- Controls for turbo, thermals, NUMA placement and background load
- Considers multiple comparisons across hundreds of benchmarks
- Uses bisection to attribute the cause
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- How many repeated runs would you need to detect a 1 percent change with 80 percent power?
- How would you design automatic regression alerts across 500 benchmarks without flooding engineers?
- What would you do if the regression appears only on one CPU SKU?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Is 1.8 percent from one run each, or medians of several? Same machines, BIOS, kernel and microcode on both dates? Is noise of 1 percent the standard deviation per run? What else changed between the tw...
Approach
Treat it as a controlled experiment. Build A (before) and B (after) on the same set of machines, alternating ABAB to cancel drift, with fixed frequency or turbo disabled, pinned threads, and a warm-up...