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
Falling throughput when extracting path information #1607
Comments
I believe this line is the cause of your problem. Line 248 in 2fd96c0
Commenting it and your example runs OK for me. It would be good if someone can look into it and see if it's ok to remove it. |
for context: #1486 (comment) |
Or maybe we can clear the |
Can confirm that this causes the problem, as well as the high memory consumption #1606 |
Your issue may already be reported!
Please search on the Actix Web issue tracker before creating one.
Expected Behavior
Throughput should be constant.
Current Behavior
Throughput drops with the number of requests.
Possible Solution
...
Steps to Reproduce (for bugs)
Link to example
Context
I noticed the issue while developing a search backend.
As soon as I extract path or query information, the throughput drops continuously during benchmarking.
In addition, regardless of whether I extract information, I noticed that the memory consumption is continuously increasing, which could indicate a memory leak.
Your Environment
rustc -V
): rustc 1.44.1 (c7087fe00 2020-06-17)The text was updated successfully, but these errors were encountered: