Skip to content
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

metadata: Cache and control compiler metadata fetches #2287

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Nov 23, 2023

  • Wrap ainur.Compiler with a cache
  • Control fetching throughput

Should fix the spikes we see in certain environments: https://pprof.me/0ba26790b69399ef65ea84dc3facb424/?profileType=profile%3Asamples%3Acount%3Acpu%3Ananoseconds

image

Signed-off-by: Kemal Akkoyun <[email protected]>
Copy link
Member

@brancz brancz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@brancz brancz merged commit 2ef3bb7 into main Nov 24, 2023
22 checks passed
@brancz brancz deleted the compiler_info_manager branch November 24, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants