8000 HttpClient slow performance on windows and linux · Issue #19326 · dotnet/runtime · GitHub
[go: up one dir, main page]

Skip to content
HttpClient slow performance on windows and linux #19326
@sergey-brutsky

Description

@sergey-brutsky

Hi guys,

I've noticed that httpclient is performing very slow in dotnet core comparing to golang for example.

For tests I've used VM with 16 virtual cores, and 24Gb of ram based on Intel Xeon E312 2.6Mgz

Tried windows server 2012 and centos 7.2

Code is super simple (you may find it in attached file).
And my test was made via "wrk -c 256 -t 32 http://:5000/ --latency"

Results are very upset.
On this powerful VM dotnet core httpclient performance was about 16 000 reqs/sec on windows and 12 000 reqs/sec on linux.

At the same time solution based on "golang" (check attacked file) shows results like 44 000 reqs/sec

Could you please advice what could be wrong with donet core based solution ?

Thank you
goproxy.zip
Program.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.HttpenhancementProduct code improvement that does NOT require public API changes/additionstenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0