Uh oh!
There was an error while loading. Please reload this page.
Shrink StatementKind - #54526
Conversation
This shrinks StatementKind from 80 bytes to 64 bytes on 64-bit.
This shrinks StatementKind from 64 bytes to 48 bytes on 64-bit.
rust-highfive
commented
Sep 24, 2018
(rust_highfive has picked a reviewer for you, use r? to override) |
nnethercote
commented
Sep 24, 2018
Some The instruction counts are mostly unchanged, but I will do a rust-timer run just to double check that. |
nnethercote
commented
Sep 24, 2018
@bors try |
bors
commented
Sep 24, 2018
Shrink `StatementKind` `StatementKind` occurs in significant amounts in Massif profiles.
bors
commented
Sep 24, 2018
☀️ Test successful - status-travis |
nagisa
commented
Sep 24, 2018
@nnethercote since you’re there, could you try making |
nagisa
commented
Sep 24, 2018
r? @nagisa |
nnethercote
commented
Sep 24, 2018
@rust-timer build c4a65be |
rust-timer
commented
Sep 24, 2018
Success: Queued c4a65be with parent 5ad5aca, comparison URL. |
nnethercote
commented
Sep 24, 2018
It doesn't feel to me like a useful change, because it won't affect the size of |
nnethercote
commented
Sep 25, 2018
Hmm, it's about a 1% instruction count regression for For For other metrics there's too much noise to tell much. Based on the above, I'm leaning towards landing this, but it's not a slam dunk and I'm happy to defer to the reviewer's decision. |
nagisa
commented
Sep 25, 2018
Are there any wall-clock time/cycle count comparisons as well? Instruction count comparisons, in my experience, are not great. Even if two distinct workloads do not differ by much, as depending on instruction order and instructions themselves, modern CPUs can easily retire wildly different number of instructions in same span of time. At the high end, I’ve seen a factor of 4 difference in a real-world work-load in an application doing the same job in same amount of time.
Oh, I didn’t intend to make an impression that it would beneficial for performance. I meant it would be nice-to-have purely for consistency reasons. @bors r+ |
bors
commented
Sep 25, 2018
📌 Commit e221b24 has been approved by |
As per #54526 (comment), the other metrics (which includes |
bors
commented
Sep 26, 2018
Shrink `StatementKind` `StatementKind` occurs in significant amounts in Massif profiles.
bors
commented
Sep 27, 2018
☀️ Test successful - status-appveyor, status-travis |
StatementKindoccurs in significant amounts in Massif profiles.