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

Replace httpServerRequest.absoluteURI() with simple URI check in Root Handler #15341

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Feb 25, 2021

This is done because the check doesn't actually need the entire
absoluteURI, it just needs to make sure that the URI is correct.
The use of absoluteURI incurs a small performance penalty
which can be seen in the following flame graph.

CPU-flame-graph

… Handler

This is done because the check doesn't actually need the entire
absoluteURI, it just needs to make sure that the URI is correct.
The use of absoluteURI incurs a small performance penalty
(which can be seen in flame graphs).
@geoand geoand merged commit 0176caa into quarkusio:master Feb 26, 2021
@quarkus-bot quarkus-bot bot added this to the 1.13 - master milestone Feb 26, 2021
@geoand geoand deleted the vert-http-perf-improv branch February 26, 2021 06:47
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.

2 participants