Update exchange_malloc to take Alignment too#152685
Update exchange_malloc to take Alignment too#152685scottmcm wants to merge 1 commit intorust-lang:mainfrom
exchange_malloc to take Alignment too#152685Conversation
|
r=me if perf is ok |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Update `exchange_malloc` to take `Alignment` too
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
953e0dd to
20b897d
Compare
|
Finished benchmarking commit (ee4b7f6): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -6.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.6%, secondary 0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.8%, secondary -1.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 482.657s -> 482.787s (0.03%) |
|
No changes in primary. Secondary is mixed, but overall green. @bors r=cjgillot |
|
Ah, more conflicts for the box_new PR :/ |
|
Is that one just deleting I see the note in that one that
so I could just change this one to be that change. |
|
Oh, yeah, looking at @bors r- |
|
Yeah it removes the lang item, though a similar helper gets added as a regular function.
|
|
As a regular function is great! I never wanted to touch mir-build to do this :) |
|
☔ The latest upstream changes (presumably #148190) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Closed in favour of #152737 |
#152605 updated the shim (
__rust_allocand friends), but not the special one that box uses. So do that one too.This is split out from #152641 in hopes of simplifying things.
r? @cjgillot