-
Notifications
You must be signed in to change notification settings - Fork 814
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
slightly decrease thread contention by synchronizing once rather than… #481
Conversation
… "number quantiles + 1" times Signed-off-by: Yaroslav Klymko <t3hnar@gmail.com>
It looks like this doesn't make a significant difference. 🙁 Benchmark:
Please take the results with a grain of salt. Before - 4e0e752:
After - c726b1a:
I picked the result with the smallest error from multiple benchmark runs. Quantiles:
|
It likely needs a different benchmark design for this to show up. |
@brian-brazil is there something which stops you from accepting this PR ? how can I improve this? |
I still have to do a proper review, however the benchmarks are not
conclusive. Try a benchmark that rotates frequently.
…On Mon 3 Jun 2019, 17:36 Yaroslav Klymko, ***@***.***> wrote:
@brian-brazil <https://github.com/brian-brazil> is there something which
stops you from accepting this PR ? how can I improve this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#481?email_source=notifications&email_token=ABWJG5SCLH5D2V7NVPSGZL3PYU3AJA5CNFSM4HSDEZSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWZZPCI#issuecomment-498309001>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABWJG5RIOIPORX63JOE6JQTPYU3AJANCNFSM4HSDEZSA>
.
|
This comment has been minimized.
This comment has been minimized.
Benchmarks with unrealistically frequent rotations by hardcoding The results were consistent across many runs over the last 2 days. Before - 4e0e752 -
After - c726b1a -
Before - 4e0e752 -
After - c726b1a -
|
Thanks! |
Improve Summary: slightly decrease thread contention by synchronizing once rather than "number quantiles + 1" times