-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add an Mmap wrapper to rustc_data_structures #83682
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
Conversation
This wrapper implements StableAddress and falls back to directly reading the file on wasm32
Some changes occured to rustc_codegen_cranelift cc @bjorn3 |
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
I don't think this is the cause of the perf regression in #83640, but just in case. @bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 8331dbe with merge 2d883ace5ff221db332b7155122d99e1cb8a3375... |
Commit 8fcd03e7358ccb8f568ab3b34f3f31fac4b6ede9 also seems interessant to keep. |
It seemed to be a tiny (<0.1%) regression on the other PR. I can to benchmark after this commit. |
☀️ Try build successful - checks-actions |
Queued 2d883ace5ff221db332b7155122d99e1cb8a3375 with parent 16156fb, future comparison URL. |
Finished benchmarking try commit (2d883ace5ff221db332b7155122d99e1cb8a3375): 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 |
This seems to be a slight regression on a few benchmarks. Trying with a few methods inlined. @bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 5773e51 with merge d95b884a112e6be1fc0a5c178a5404c031f491a8... |
☀️ Try build successful - checks-actions |
Queued d95b884a112e6be1fc0a5c178a5404c031f491a8 with parent 6ff482b, future comparison URL. |
Finished benchmarking try commit (d95b884a112e6be1fc0a5c178a5404c031f491a8): 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 |
That seems to be slightly better. Now trying with 8fcd03e7358ccb8f568ab3b34f3f31fac4b6ede9 cherry-picked. @bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 88a7e8f2248260f4af7910a0e14e8d672afede9b with merge c6b3d6133f84d4c800af3b32f46663a91f0ab432... |
☀️ Try build successful - checks-actions |
Queued c6b3d6133f84d4c800af3b32f46663a91f0ab432 with parent a5029ac, future comparison URL. |
Finished benchmarking try commit (c6b3d6133f84d4c800af3b32f46663a91f0ab432): 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 |
Nope, that is a regression. Maybe due to the double |
Added the safety comment. @bors r=cjgillot |
📌 Commit bda6d1f has been approved by |
☀️ Test successful - checks-actions |
This wrapper implements StableAddress and falls back to directly reading the file on wasm32.
Taken from #83640, which I will close due to the perf regression.