Repository navigation
Add support for Zprint-codegen-stats-json - #156472
Merged
Merged
Conversation
Collaborator
|
rustbot has assigned @nikomatsakis. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Contributor
|
@bors r+ |
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 13, 2026
… r=nikomatsakis Add support for Zprint-codegen-stats-json Add a flag `-Zprint-codegen-stats-json=<file>` to collect and write LLVM statistics in JSON format. It makes use of the function `llvm::PrintStatisticsJSON` in LLVM. The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.
rust-bors Bot
pushed a commit
that referenced
this pull request
May 13, 2026
…akis Add support for Zprint-codegen-stats-json Add a flag `-Zprint-codegen-stats-json=<file>` to collect and write LLVM statistics in JSON format. It makes use of the function `llvm::PrintStatisticsJSON` in LLVM. The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 13, 2026
… r=nikomatsakis Add support for Zprint-codegen-stats-json Add a flag `-Zprint-codegen-stats-json=<file>` to collect and write LLVM statistics in JSON format. It makes use of the function `llvm::PrintStatisticsJSON` in LLVM. The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.
Member
|
@bors yield |
Contributor
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #156530. |
Collaborator
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
rust-bors Bot
pushed a commit
that referenced
this pull request
May 13, 2026
…akis Add support for Zprint-codegen-stats-json Add a flag `-Zprint-codegen-stats-json=<file>` to collect and write LLVM statistics in JSON format. It makes use of the function `llvm::PrintStatisticsJSON` in LLVM. The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.
Member
|
@bors yield |
Contributor
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #156530. |
rust-bors Bot
pushed a commit
that referenced
this pull request
May 13, 2026
…uwer Rollup of 5 pull requests Successful merges: - #156472 (Add support for Zprint-codegen-stats-json) - #156504 (bootstrap: remap windows-style OUT_DIR paths) - #156513 (miri subtree update) - #156524 (Remove the dummy `PreCodegen` mir-opt pass, and use `runtime-optimized` instead) - #156325 (Don't treat const param default as projection)
rust-bors Bot
pushed a commit
that referenced
this pull request
May 13, 2026
…uwer Rollup of 5 pull requests Successful merges: - #156472 (Add support for Zprint-codegen-stats-json) - #156504 (bootstrap: remap windows-style OUT_DIR paths) - #156513 (miri subtree update) - #156524 (Remove the dummy `PreCodegen` mir-opt pass, and use `runtime-optimized` instead) - #156325 (Don't treat const param default as projection)
rust-timer
added a commit
that referenced
this pull request
May 13, 2026
Rollup merge of #156472 - stephenduong1004:print-stats-json, r=nikomatsakis Add support for Zprint-codegen-stats-json Add a flag `-Zprint-codegen-stats-json=<file>` to collect and write LLVM statistics in JSON format. It makes use of the function `llvm::PrintStatisticsJSON` in LLVM. The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.
pull Bot
pushed a commit
to xtqqczze/rust-lang-miri
that referenced
this pull request
May 17, 2026
…uwer Rollup of 5 pull requests Successful merges: - rust-lang/rust#156472 (Add support for Zprint-codegen-stats-json) - rust-lang/rust#156504 (bootstrap: remap windows-style OUT_DIR paths) - rust-lang/rust#156513 (miri subtree update) - rust-lang/rust#156524 (Remove the dummy `PreCodegen` mir-opt pass, and use `runtime-optimized` instead) - rust-lang/rust#156325 (Don't treat const param default as projection)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a flag
-Zprint-codegen-stats-json=<file>to collect and write LLVM statistics in JSON format. It makes use of the functionllvm::PrintStatisticsJSONin LLVM.The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.