Skip to content

load_hpack takes ~9% of total CPU at high request rates #883

Open

Description

@aryehlev

Running an HTTP/2 server at ~1M req/s on ARM64, load_hpack is ~9% of total CPU in our profiles. Feels way too high for header decoding. I looked through the source and I think there's a lot of low-hanging fruit. Happy to send patches.

Image

Activity

  1. changed the title [-]load_hpack takes ~10% of total CPU at high request rates[/-] [+]load_hpack takes ~9% of total CPU at high request rates[/+] on Mar 30, 2026
  2. seanmonstar commented on Mar 30, 2026

    @seanmonstar
    Member

    Sure, optimizations are always welcome!

  3. seanmonstar commented on Jul 28, 2026

    @seanmonstar
    Member

    FWIW, there's one optimization PR up now, #926.

  4. aryehlev commented on Aug 2, 2026

    @aryehlev
    Author

    @seanmonstar awesome! i didnt get to it, but once you merge i will test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions