-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Use direct cache in index reader for symbol values #3557
Conversation
Signed-off-by: Ben Ye <yb532204897@gmail.com>
Nice. I will check tomorrow but I still think we could just adjust symbolFactor to be something different than 32. If not 1. This should also help with allocs, wonder what's the main source. I guess we could together Investigate profiles (: |
Can you double check you are running this tests for more or equal than minute. Especially if something is taking long time, worth to rule out laptop resources saturation |
The result above is under 30s bench time. I did another round of benchmarks with 1m bench time and the result is similar.
Also tested with |
Awesome, thanks for checking, I want to try something additional before we move to this 🤗 |
I was thinking about something like this: #3561 Will compare the results from your PR as well (: |
Let's go for this! Since you are maintainer @yeya24 you should have write access to repo and CI now (: Can you restart flaky test? ;p |
I just want to chime in and say it is awesome to see this optimization helping out other parts of Thanos too! |
CI passed. Let's try it! |
Signed-off-by: Ben Ye yb532204897@gmail.com
Changes
Apply the same improvement as the upstream Prometheus pr prometheus/prometheus#8265.
The benchmark result is great comparing to the current master.
Verification