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

Improve JaxrsClientReactiveProcessor.setupClientProxies performance #45631

Open
Postremus opened this issue Jan 16, 2025 · 1 comment
Open

Improve JaxrsClientReactiveProcessor.setupClientProxies performance #45631

Postremus opened this issue Jan 16, 2025 · 1 comment
Labels

Comments

@Postremus
Copy link
Member

Description

In my real world application, I noticed that io.quarkus.jaxrs.client.reactive.deployment.JaxrsClientReactiveProcessor.setupClientProxies takes about 10% of my hot reload time. (about 500ms).

Image

However, in that project I do not have any subresources, which seem to take most of the time.. or so I thought.

After a bit of debugging, I figured out that the keycloak-admin-rest-client uses sub resources.

I created a small reproducer project:

kc-sub-slow.zip

With the quarkus-keycloak-admin-rest-client dependency, hot reload takes about 850ms.
Without only about 450ms.

Anything that can be done here to improve this?

JFR recording of the reproducer (first startup + one hot reload). rename .zip to .jfr: repro-startup-and-hotreload.zip

Implementation ideas

No response

@geoand
Copy link
Contributor

geoand commented Jan 16, 2025

Thanks for the thorough report!

Definitely something to look into!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants