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

Cache.getAsync() - improve the stats recording logic #31755

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Mar 10, 2023

  • avoid using the costly Map.compute() in order to call statsCounter.recordHits(1)/statsCounter.recordMisses(1)

This pull request follows up on #30314.

- avoid using the costly Map.compute() in order to call
statsCounter.recordHits(1)/statsCounter.recordMisses(1)
@quarkus-bot
Copy link

quarkus-bot bot commented Mar 10, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

Copy link
Member

@gwenneg gwenneg left a comment

Choose a reason for hiding this comment

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

LGTM

@gastaldi gastaldi merged commit 3a328dc into quarkusio:main Mar 12, 2023
@quarkus-bot quarkus-bot bot added this to the 3.0 - main milestone Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants