rust-lang / rust-lang/rustc-perf

Migrate from `cg_diff` to `cg_annotate --diff`

Open
#1,934 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
733
Forks
189
Avg merge
10h 52m
Merged PRs (30d)
43

Description

cg_diff is deprecated now and shows this when run:

Deprecated; use `cg_annotate --diff` instead.

cg_annotate --diff also produces a better output.

rustc-perf doesn't support older versions of valgrind anyway, so we can probably require a version that supports cg_annotate --diff.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the cg_diff invocation and inspect how the Valgrind version requirement is handled. Replace the deprecated command with cg_annotate --diff, require a supporting Valgrind version if needed, and verify that the generated performance output remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.