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

Fix largest performance issue in profiler #1830

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

catid
Copy link

@catid catid commented Aug 5, 2024

I'm not great at writing Rust code, but this was an easy fix. In callgrind it was using 38% of the CPU time of the application, and afterwards 0.

LPardue and others added 3 commits May 29, 2024 14:59
This is a fallible conversion, since a peer could send an error
code value that is unknown to quiche itself.
lib: Add TryFrom<u64> for WireErrorCode
@catid catid requested a review from a team as a code owner August 5, 2024 01:12
@LPardue
Copy link
Contributor

LPardue commented Sep 10, 2024

@catid Thanks for the PR. I'm not quite sure how you were profiling but it doesn't seem like there should really be an issue from the allocation alone. Instead, there's work that can be skipped entirely if there is nothing to read on the QPACK stream . I made #1841 to address that, maybe you'd like to recheck your numbers with that change?

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