[wip] Tweak cgu partitioning#71349
Conversation
23a0804 to
ded2710
Compare
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit ded271016b03b48bc73843e36d3c1958c242e24d with merge 0c9e1e2a364ddefe107a4988cacd5900ca232245... |
|
☀️ Try build successful - checks-azure |
|
Queued 0c9e1e2a364ddefe107a4988cacd5900ca232245 with parent 4ca5fd2, future comparison URL. |
|
Finished benchmarking try commit 0c9e1e2a364ddefe107a4988cacd5900ca232245, comparison URL. |
|
as the server that is running perf do not have that many threads I think that the biggest gains is from getting functions calling the same inline marked functions in the same CGU as described in #65281 (comment). |
|
also this can be part of the solution for #69382 |
ded2710 to
9c97268
Compare
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit 9c9726815023031f5fd4e45e9f97a5160e8a8abf with merge 54729123272d6aeceda10eedcdae76fec44d5337... |
|
☀️ Try build successful - checks-azure |
|
Queued 54729123272d6aeceda10eedcdae76fec44d5337 with parent e83f756, future comparison URL. |
|
Remember that there is also a terminator per basic block that is not part of the statements. |
|
Finished benchmarking try commit 54729123272d6aeceda10eedcdae76fec44d5337, comparison URL. |
|
There are absolutely no changes in performance. |
9c97268 to
5c4c00a
Compare
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit 7b86e2a with merge 35fdb7107589ab8f0cce89e7a5790f12c40ca662... |
|
☀️ Try build successful - checks-azure |
|
Queued 35fdb7107589ab8f0cce89e7a5790f12c40ca662 with parent 0aa6751, future comparison URL. |
|
Finished benchmarking try commit 35fdb7107589ab8f0cce89e7a5790f12c40ca662, comparison URL. |
| | StatementKind::Nop => false, | ||
| _ => true, | ||
| }) | ||
| .count() |
There was a problem hiding this comment.
shall there maybe be something like
rust/src/librustc_mir/transform/inline.rs
Lines 319 to 373 in 963bf52
or at least a +1 so the terminator is counted in some way
There was a problem hiding this comment.
can maybe be simplified to only add extra for landingpads(10 llvm ir instructions) and resume (9 llvm ir instructions)
r? @ghost