-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix perf regression from Miri Machine trait changes #62264
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
@bors try |
⌛ Trying commit 8157856098a7038232d52a993bb945f7eafa0add with merge a36397fa11d1d3c42a1ac182d0159fa152cc005d... |
💥 Test timed out |
The build succeeded but the timeout went off... @rust-lang/infra should the timeout be increased? Let's see if we can time this anyway. |
Success: Queued a36397fa11d1d3c42a1ac182d0159fa152cc005d with parent 5748825, comparison URL. |
1 similar comment
Success: Queued a36397fa11d1d3c42a1ac182d0159fa152cc005d with parent 5748825, comparison URL. |
I think try builds will timeout until #62247 is merged. |
Finished benchmarking try commit a36397fa11d1d3c42a1ac182d0159fa152cc005d, comparison URL. |
That doesn't seem to make a difference. I guess it's time to revert parts of that PR to figure out where it is coming from. (Please don't merge!) |
@bors try |
[WIP] Debug perf regression from Miri Machine trait changes Maybe this fixes the perf regression that #62003 seemingly introduced? Cc @nnethercote
@rust-timer build 32136d3 |
Success: Queued 32136d3 with parent 765eebf, comparison URL. |
Finished benchmarking try commit 32136d3, comparison URL. |
Yeah, this confirms the perf regression is fixed by reverting the entire PR. @nnethercote can you explain that? I am completely mystified. That just makes no sense at all. And without any hypothesis what is even causing this, it is very hard to do anything about it.^^ Next run: reverting those parts of the PR that we did just "for consistency", but don't technically need. @bors try |
⌛ Trying commit 4c8da8b268372d1229bcdda40d2387f22af59860 with merge b33ad710d9c74907741387cf9a85c8e5b95b7e52... |
Ah never mind, I found it. Is there a way to abort the try build? |
@bors try- retry |
Fix perf regression from Miri Machine trait changes Maybe this fixes the perf regression that #62003 seemingly introduced? Cc @nnethercote
☀️ Try build successful - checks-azure, checks-travis |
@rust-timer build ed4ad9c |
Success: Queued ed4ad9c with parent 99abdfa, comparison URL. |
Finished benchmarking try commit ed4ad9c, comparison URL. |
Perf looks good, confirms my assumption that this fixes the regression. This is ready for review. |
Thank you for hunting this down, RalfJung! For compiler perf, fixing regressions is less glamorous but just as important as writing new optimizations. |
☔ The latest upstream changes (presumably #62355) made this pull request unmergeable. Please resolve the merge conflicts. |
…ooks This is needed to avoid doing unnecessary global alloc_map lookups
Rebased to fix conflict. |
@bors r+ |
📌 Commit 52e6f85 has been approved by |
Fix perf regression from Miri Machine trait changes Maybe this fixes the perf regression that rust-lang#62003 seemingly introduced? Cc @nnethercote
Rollup of 8 pull requests Successful merges: - #60260 (Add support for UWP targets) - #62151 (Update linked OpenSSL version) - #62245 (Miri engine: support extra function (pointer) values) - #62257 (forward read_c_str method from Memory to Alloc) - #62264 (Fix perf regression from Miri Machine trait changes) - #62296 (request at least ptr-size alignment from posix_memalign) - #62329 (Remove support for 1-token lookahead from the lexer) - #62377 (Add test for ICE #62375) Failed merges: r? @ghost
Fix perf regression from Miri Machine trait changes Maybe this fixes the perf regression that rust-lang#62003 seemingly introduced? Cc @nnethercote
Rollup of 7 pull requests Successful merges: - #62151 (Update linked OpenSSL version) - #62245 (Miri engine: support extra function (pointer) values) - #62257 (forward read_c_str method from Memory to Alloc) - #62264 (Fix perf regression from Miri Machine trait changes) - #62296 (request at least ptr-size alignment from posix_memalign) - #62329 (Remove support for 1-token lookahead from the lexer) - #62377 (Add test for ICE #62375) Failed merges: r? @ghost
Maybe this fixes the perf regression that #62003 seemingly introduced?
Cc @nnethercote