Closed
Description
Hey folks,
I was told to create an issue here. When compiling crates, I often see this crate holding up the overall process, and because others are depending on it, it grabs one cpu core and the others are literally idle and I need to wait.
Yeah this contains some giant match statements which are slow. We could perhaps use something like phf_map here but that may not improve compile times.
-- @Manishearth
I'd be thankful if there are some efforts to make it faster. :)
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
matthiaskrgr commentedon Oct 31, 2018
item-bodies checking
andmatch checking
take a lot of time:RUSTFLAGS="-Z time-passes -Ccodegen-units=1" cargo check
building:
RUSTFLAGS="-Z time-passes -Ccodegen-units=1" cargo build --release
jens1o commentedon Oct 31, 2018
happy to know I'm not the only one :)
jens1o commentedon Dec 14, 2018
Is there something to do to get this triaged?
Auto merge of #57494 - dotdash:expand, r=<try>
Auto merge of #57546 - dotdash:match, r=<try>
Rollup merge of rust-lang#57494 - dotdash:expand, r=nikomatsakis
unicode_normalization
benchmark fromrustc-perf
is slow #57718nnethercote commentedon Jan 27, 2019
Note that #57718 has some detailed profile measurements.
7 remaining items