Skip to content

Benchmarking

Cephalon.Benchmarks is a BenchmarkDotNet suite that covers:

  • Composition (registration + ordering performance).
  • Runtime lifecycle (OnStart / OnStop).
  • AspNetCore REST hot path.
  • Runtime host hot path.
  • Scaffolding performance.
Terminal window
dotnet run -c Release --project ./benchmarks/Cephalon.Benchmarks -- --filter "*RestHotPath*"
  • Hot-path regressions of more than ~5% require a justified rationale in the PR.
  • Memory regressions (allocations / Gen0/Gen1/Gen2) are tracked separately and called out in review.
  • Baselines move forward only when intentional.