-
Notifications
You must be signed in to change notification settings - Fork 153
Bustage due to recent self-profile changes #342
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
Comments
The performance of the new self-profile code is also unacceptable; it increases instruction counts by as much as 40%. See rust-lang/rust#58085 (comment) |
Huh, I don't know that I think self-profiling shouldn't be done on perf.rlo yet until the data format has settled down. |
We can definitely stop collecting the data; we don't actually do anything with it yet - just load it and re-serialize it. |
Yes, let's do this for now to unbreak things. The data will look differently in the future anyway. |
Perf should now be fixed. |
Thanks, @Mark-Simulacrum! |
@Mark-Simulacrum: The compiler is still invoked with the Given how much slower it makes the compiler in the current form, we should remove that too, I think. |
Also, I left some notes on how to make self-profiling more efficient here: rust-lang/rust#58372 |
Fixed the invocation with self-profile flag; I had missed that in my initial search... thanks! |
Thanks, @Mark-Simulacrum! Looks like perf.rlo is back to normal. |
I get this when running the
profile
orbench
commands:The problem is this line: https://github.com/rust-lang-nursery/rustc-perf/blob/80826de37c486428f65a376d8aa0b5a8bb8dfcfe/collector/src/bin/rustc-perf-collector/execute.rs#L250
I think it assumes that the JSON is an array, but it's now an object (with keys/values).
I suspect rust-lang/rust#58085 is the cause.
The text was updated successfully, but these errors were encountered: