We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running performance tests, I found some operations that take some noteworthy CPU time:
sttp.tapir.server.pekkohttp.PekkoServerRequest.acceptsContentTypes()
sttp.tapir.server.pekkohttp.PekkoToResponseBody.parseContentType(String)
sttp.tapir.server.pekkohttp.PekkoModel$.parseHeadersOrThrowWithoutContentHeaders(HasHeaders)
These operations run header parsers from sttp-model underneath, which are expensive mostly because they use regular expressions, like Accepts.parse.
sttp-model
Accepts.parse
The text was updated successfully, but these errors were encountered:
kciesielski
Successfully merging a pull request may close this issue.
When running performance tests, I found some operations that take some noteworthy CPU time:
sttp.tapir.server.pekkohttp.PekkoServerRequest.acceptsContentTypes()
2.4%sttp.tapir.server.pekkohttp.PekkoToResponseBody.parseContentType(String)
3.53%sttp.tapir.server.pekkohttp.PekkoModel$.parseHeadersOrThrowWithoutContentHeaders(HasHeaders)
2.34%These operations run header parsers from
sttp-model
underneath, which are expensive mostly because they use regular expressions, likeAccepts.parse
.The text was updated successfully, but these errors were encountered: