-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update measureme crate to 0.5.0 #66981
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
I'm trying to run perf.rlo locally with this and I'm getting errors like |
I wanted to add support for choosing the summarize binary based on commit to perf, but haven't gotten around to it -- looking at it though, our queue is relatively empty (we've gone back in time to the 9th of November already). So once the bugs you've noted are fixed, I think we can just land this and I'll update summarize at the same time on perf. Do you want me to investigate those bugs? @bors try so we can test an official build as well without rebuilding the compiler |
⌛ Trying commit edcca15 with merge 25cf298cde6309198b899a137158b3f12adffb29... |
Alright, it looks like the new implementation of summarize is a bit less robust than the previous one. Specifically, I get a crash here: https://github.com/rust-lang/measureme/blob/0.5.0/summarize/src/analysis.rs#L166 The reason is that |
I posted a proposed fix at rust-lang/measureme#93. |
☀️ Try build successful - checks-azure |
@Mark-Simulacrum: rust-lang/measureme#93 has landed, so I did not bump any versions for that fix. It's a bit weird that the Anyway, the bug in |
I personally expect we'll eventually want to pin to a specific commit of the measureme repository -- with all tools at that commit -- rather than have versions. I'll try to make time to make the perf conversion along with the merge of this PR this week (likely tomorrow, but we'll see if I get to it today). |
@bors r+ rollup=never Once this merges I'll try and get perf switched over quickly to the new code for summarize (I'm going with the manual approach for now). Not allowing this to be rolled up just in case it's a performance regression itself (we can't readily test that on perf today). |
📌 Commit edcca15 has been approved by |
Is there a chance to turn |
I'm afraid I wouldn't know, but I agree that seems like the path forward. Certainly for now we can likely get away without doing so (since it's likely to be somewhat non-trivial). @cuviper has recently added a component, so maybe they can write up some instructions on forge.rust-lang.org or a mentoring issue or something like that? |
Maybe something like a I'm not sure I know enough about components to really mentor someone though. You can |
I think perhaps, yes, though I'm not sure. It may make sense to try to get the ball rolling on that (I imagine we have quite a few tools that could be a good fit for such a component -- cargo-bisect-rustc, for one, jumps to mind). I wasn't sure if you had done more than to just figure out how rust-std was handled. I probably don't have the bandwidth myself to try to move the needle on a measureme/rustc-dev-tools component, but would be willing to do the review for a PR that tries to get the ball rolling. |
This would potentially have wider use at some point but then we can just add it to the regular |
…acrum Update measureme crate to 0.5.0 This PR updates the `measureme` self-profiling crate to the latest release. Heads up, this version changes the trace file format, so the `summarize` tool on perf.rlo needs to be updated to 0.5 too. r? @Mark-Simulacrum cc @wesleywiser
☀️ Test successful - checks-azure |
This PR updates the
measureme
self-profiling crate to the latest release. Heads up, this version changes the trace file format, so thesummarize
tool on perf.rlo needs to be updated to 0.5 too.r? @Mark-Simulacrum
cc @wesleywiser