Skip to content

HttpClient requests - improve header parsing perf (when TryAddWithoutValidation) #30400

@Rodrigo-Andrade

Description

@Rodrigo-Andrade

Today most of the cpu time of my requests are parsing headers before sending the actual request:

image

Any guidance to improve this? I'am not doing anything fancy like sending 30+ headers.

Metadata

Metadata

Assignees

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