slightly decrease thread contention by synchronizing once rather than…#481
slightly decrease thread contention by synchronizing once rather than…#481brian-brazil merged 1 commit intoprometheus:masterfrom
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