Skip to content

Record the test suite baseline and make debug builds cheaper #202

Closed

Description

@JacobStephens2

Parent

#174

What to build

Record the suite's baseline before anything else changes, then make debug builds cheaper. On one machine, measure a cold build of the test targets (cargo test --no-run from an empty target dir, wall time), a warm full cargo test (wall time, and user + sys from /usr/bin/time), and the load average during each. Post these as a comment on #174 headed "Baseline"; every later ticket compares against it. Then add a dev profile: line-tables-only debuginfo for the crate, and no debuginfo for dependencies. Measure again and report both sets of numbers.

Acceptance criteria

  • A "Baseline" comment on Make the test suite faster #174 gives cold --no-run wall time, warm full-suite wall time, user + sys, the load average for each, and the core count, all taken before any change in this ticket
  • The dev profile uses line-table debuginfo for the crate and none for dependencies
  • A panicking test's backtrace still shows file and line
  • The PR reports the same measurements after the change, plus the target dir size before and after
  • The full suite passes

Blocked by

None (can start immediately)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions