Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

@bnoordhuis bnoordhuis commented Jul 31, 2022

Special-case parsing of the GET request method as that is by far the
most common. Speeds up the req_short benchmark by a fair margin:

req_short/req_short     time:   [54.341 ns 54.372 ns 54.410 ns]
                        thrpt:  [1.1639 GiB/s 1.1647 GiB/s 1.1654 GiB/s]
                 change:
                        time:   [-6.9861% -6.8834% -6.7832%] (p = 0.00 < 0.05)
                        thrpt:  [+7.2768% +7.3922% +7.5108%]

edit: forgot to copy the Performance has improved. line :derp:

Special-case parsing of the GET request method as that is by far the
most common. Speeds up the req_short benchmark by a fair margin:

    req_short/req_short     time:   [54.341 ns 54.372 ns 54.410 ns]
                            thrpt:  [1.1639 GiB/s 1.1647 GiB/s 1.1654 GiB/s]
                     change:
                            time:   [-6.9861% -6.8834% -6.7832%] (p = 0.00 < 0.05)
                            thrpt:  [+7.2768% +7.3922% +7.5108%]
@seanmonstar
Copy link
Owner

Superseded by #119

@seanmonstar seanmonstar closed this Aug 2, 2022
@bnoordhuis bnoordhuis deleted the brr branch August 2, 2022 11:12
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.

3 participants