Design a Performance Tracking Service for Compiler Benchmarks

Last updated: November 29, 2026

Quick Overview

Design a service that ingests benchmark results from thousands of nightly and per-commit runs across compilers, Arm cores and simulators, stores them, detects regressions, and helps engineers bisect them to a commit.

Arm
System Design
Software Engineer
Arm
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design a service that ingests benchmark results from thousands of nightly and per-commit runs across compilers, Arm cores and simulators, stores them, detects regressions, and helps engineers bisect them to a commit.

Arm's toolchain and library teams measure every change against suites such as SPEC CPU, CoreMark and ML kernels on Neoverse silicon, Cortex boards and Fixed Virtual Platforms. The interviewer checks data modelling for high-cardinality results, noise-aware detection, and a workflow that gets regressions to the right owner quickly.

What the Interviewer Expects
  • Model results with a run, a configuration and per-metric samples
  • Store raw samples, not just averages
  • Use a statistical test or change-point detection that accounts for noise
  • Automate bisection on a commit range with a lab scheduler
  • Expose dashboards and alerts routed to code owners
Key Topics to Cover
time series storage
change-point detection
bisection
CI infrastructure
benchmarking
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle a hardware board that silently runs 5% slower after a firmware update?
  • How would you reduce compute cost while keeping per-commit coverage?
  • How do you treat benchmarks that are bimodal because of code alignment effects?
  • How would you let teams compare two arbitrary builds side by side?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Ingest about 50k runs a day, each with 10 to 1,000 metrics (scores, cycles, code size, compile time) and 3 to 10 repeated samples. Query by benchmark, metric, compiler version, flags, target (core, bo...

High-Level Design

Runners in the lab push results to an ingest API that writes to a queue. A writer stores runs and samples in a columnar store (ClickHouse or Postgres with partitioning), keyed by a configuration hash ...


Submit Your Answer
Markdown supported

Related Questions