-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[do not merge] Measure upper limit for performance of 32 bit Span
#59749
Conversation
@bors try |
⌛ Trying commit 6930ecbb0c927fb458bfde7fa6bb82be26ddef18 with merge 79b69238624df985b4415688efea25470ba8a824... |
TODO: Exclude rustdoc from bors try for this PR. |
This will be interesting. #59693 (comment) suggests that roughly half the speedup of 64-bit spans comes from fewer TLS accesses, and the other half comes from fewer hash table accesses. |
248ccec
to
7c2ab8d
Compare
@bors try |
[do not merge] Measure upper limit for performance of 32 bit `Span` What would happen if span interner accesses were cheap and didn't require any synchronization? r? @ghost
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Oh, come on, why |
@bors try |
⌛ Trying commit ed9912de2f7fc10c1f3ec969d9c835c833c374b8 with merge 3691212ca5933a51857de07b5a62084dabe81b82... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bors try |
@bors try |
[do not merge] Measure upper limit for performance of 32 bit `Span` What would happen if span interner accesses were cheap and didn't require any synchronization? r? @ghost
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 |
cc @Mark-Simulacrum |
💔 Test failed - checks-travis |
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 |
[do not merge] Measure upper limit for performance of 32 bit `Span` What would happen if span interner accesses were cheap and didn't require any synchronization? r? @ghost
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 |
☀️ Try build successful - checks-travis |
@rust-timer build d806815 |
Success: Queued d806815 with parent 3de0106, comparison URL. |
Finished benchmarking try commit d806815 |
The comparison URL is empty, showing an error message about "could not find commit..." :( |
Yeah, that's a known bug. The parent commit is still building. |
Parent commit is finished |
This gets roughly 75% of the Span64 improvements (#59693). |
@nnethercote |
I'd say that if we had perfectly inline-able TLS accesses or explicitly passed interner, then 64 bit spans would rather be a regression for most of crates beside |
What would happen if span interner accesses were cheap and didn't require any synchronization?
r? @ghost