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

Set infinite ConnectTimeout for HttpClient benchmark #1738

Merged
merged 1 commit into from
May 19, 2022

Conversation

MihaZupan
Copy link
Member

@MihaZupan MihaZupan commented May 19, 2022

This may not matter now that dotnet/runtime#66297 was reverted, but we may still change ConnectTimeout in the future.

Without setting it to infinite in the benchmark, it makes it much more difficult trying to find a sweet spot of maximum throughput based on concurrency. If you go too high, you'll be flooded with errors instead of seeing a lower perf number.

cc: @CarnaViire

@sebastienros sebastienros merged commit d13781a into aspnet:main May 19, 2022
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