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

Refactor and optimize parsing request #349

Merged
merged 3 commits into from Sep 26, 2019

Conversation

clue
Copy link
Member

@clue clue commented Sep 25, 2019

This changeset is in preparation for upcoming refactorings to move unrelated logic from streaming server to the request parser class to prepare for persistent HTTP connections in follow-up PR. This changeset does not affect the public API and happens to improve performance noticeably from around 8600 req/s to 9600 req/s on my machine (best of 5).

Builds on top of #346
Refs #39

@clue clue added this to the v0.8.5 milestone Sep 25, 2019
@jsor jsor merged commit 369d495 into reactphp:master Sep 26, 2019
@clue clue deleted the optimize-parser branch September 26, 2019 19:53
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.

None yet

3 participants