-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.NLL-performantWorking towards the "performance is good" goalWorking towards the "performance is good" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Description
It would be great to be tracking NLL performance on perf.rust-lang.org. I'm not entirely sure the best way to go about this. I've been tracking NLL perf on the syn
benchmark specifically, but I'd obviously like to also test a broader set.
Three alternatives:
- Add patches to select benchmarks on perf that add
#![feature(nll)]
.- Incremental ought to ensure that we rebuild what needs to be rebuilt in this case; I'm a bit wary in that I'm not sure exactly what that set will be, but it ought to include at least MIR borrowck.
- Clone the benchmarks and add
#![feature(nll)]
into thelib.rs
- Thus we would have a distinct
syn-nll
benchmark, for example
- Thus we would have a distinct
- Just add a new NLL mode
- Similar to
-opt
, consider running all benchmarks with NLL enabled using RUSTFLAGS - This might fail for some benchmarks, not sure, but hopefully not
- Similar to
I'm sort of leaning towards the last one, but I'd love to get feedback, as well as advice from @Mark-Simulacrum on how to implement whichever route we choose.
cc @rust-lang/wg-compiler-performance @rust-lang/wg-compiler-nll @Mark-Simulacrum
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.NLL-performantWorking towards the "performance is good" goalWorking towards the "performance is good" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.