Skip to content

crater very bad perf :3 #254

@lcnr

Description

@lcnr

https://rust-lang.zulipchat.com/#narrow/channel/364551-t-types.2Ftrait-system-refactor/topic/crater.20triage.3A.20.60mathypad-core.60.20overflows/with/547985764

Benchmark 1: CARGO_INCREMENTAL=0 cargo rustc --profile check -- -Awarnings
  Time (mean ± σ):      1.486 s ±  0.003 s    [User: 1.308 s, System: 0.188 s]
  Range (min … max):    1.484 s …  1.488 s    2 runs

Benchmark 2: CARGO_INCREMENTAL=0 cargo rustc --profile check -- -Awarnings -Znext-solver
  Time (mean ± σ):     39.309 s ±  0.173 s    [User: 35.018 s, System: 4.296 s]
  Range (min … max):   39.186 s … 39.431 s    2 runs

Summary
  CARGO_INCREMENTAL=0 cargo rustc --profile check -- -Awarnings  ran
   26.45 ± 0.13 times faster than CARGO_INCREMENTAL=0 cargo rustc --profile check -- -Awarnings -Znext-solver

thx @lqd <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-craterA regression found via a crater run, not part of our test suite

    Type

    No type

    Projects

    Status

    todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions