-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[do not merge] Remove PackedFingerprint #81230
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
[do not merge] Remove PackedFingerprint #81230
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. |
⌛ Trying commit 2b32c8b2e6f1939aa45d6654a3f34f2885b954cf with merge 0a3bc90310fef9bd3563b773ac96ad1720c363de... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
2b32c8b
to
d4e42af
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. |
⌛ Trying commit d4e42af with merge cf92be18e6cc5980739fdd6c7bfc48659900f777... |
☀️ Try build successful - checks-actions |
Queued cf92be18e6cc5980739fdd6c7bfc48659900f777 with parent a4cbb44, future comparison URL. @rustbot label: +S-waiting-on-perf |
Finished benchmarking try commit (cf92be18e6cc5980739fdd6c7bfc48659900f777): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
The instruction counts improve very slightly after reverting (deeply-nested-async is worse, but is probably bogus based on how that benchmark has behaved in the past). The cycles difference is in the noise/variance range. And the max-rss difference isn't large enough to show the through the noise. But profiling locally under Massif, which produces less noisy results, shows that using packed fingerprints results in memory reductions of about 50MB or 4% for the style-servo-check incr-patched benchmark, for example. Assuming that result is representative and because the other stats don't hugely favor one approach, I'm inclined to leave things as they are. But I don't have strong feelings one way or the other. |
PackedFingerprint
was added by #78646 to reduce the size and alignment ofDepNode
s. This lowered memory consumption at the cost of increased cycles. Since then, #79589 and #80957 have decreased the number ofDepNode
s that exist during a compilation session, soPackedFingerprint
may not be as beneficial anymore. Let's do a perf run and find out.r? @ghost