Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

CI‑Shaped Workflows: Store What Matters, Fail on What Counts

说明与用途

在 CI 中存储完整的 JSON 工件,使得可以基于任何指标失败,而不仅仅是平均值,从而实现透明的审计和后续分析。

问题

CI pipelines that only surface a mean value are blind to the real story of code performance; a single number can hide regressions, noise, or a broken measurement.

结果

Storing the full artifact turns CI from a black box into a transparent audit trail, enabling failure on the right metric and later investigation.

工作流

  • Ensure csperf is in PATH
  • Run workload and capture artifact: csperf run --input examples/cpp/matrix_traversal.cpp --backend cpu --output results/ci.json
  • Profile artifact: csperf profile results/ci.json --json

证据

Many teams run csperf run … in CI and only look at the printed mean.

来源

csperf lets you: Store the entire JSON artifact in your CI artifact store.

来源

Fail the job if any metric deviates beyond a threshold.

来源

  • 记录日期: 2026-10-15T13:56:01.133Z