-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15% regression in compiler memory usage for inflate
crate
#43834
Comments
A similar, but not as large regression can be seen for the deep vector benchmark |
Looks expected, but someone should run a profiler to confirm it's what it looks like. |
Believed to be fallout from |
triage: P-medium |
1.21 is now in beta @nikomatsakis should this not be on the milestone for 1.21? |
@alexcrichton we were hoping to verify the results and make sure we at least know the cause. @pnkfelix has done some of the legwork here but I think we're still not clear that |
Just some quick data to supply here: I switched to When using
This led me to think that there might be some other issue causing the regression being reported. But after @nikomatsakis pushed back a little, I switched to using
That was a lot scarier, and thus led me to file PR #44249. (I don't know why the massif report is so different from the one I get from |
Hm that is indeed very odd! I would have thought that massif wouldn't tamper too much with the output... I wonder if thats something like really bad heap fragmentation where massif sums up literal allocation sizes whereas |
Looking at perf, I see that the regression has been fixed by #44249. We'll have to wrangle this when it comes to switch to MIR borrowck, but we'll worry about then. |
According to perf.rust-lang.org the
inflate-0.1.0
benchmark regressed 15% in memory usage over the past few weeks.There was an initial big regression due to #39409 and #43576 recovered most of it but unfortunately there's still a 15% overall regression from before :(
The text was updated successfully, but these errors were encountered: