Skip to content

Reduce unnecessary allocations in TLS handshake (windows) #68951

Closed
@davidfowl

Description

@davidfowl

Description

I'm beginning to look at the performance of establishing connections on ASP.NET Core and doing some CPU and allocation profiles. I'm storing my findings as I learn more about the current performance characteristics.

Configuration

  • This was running on windows 11 x64

Regression?

No

Data

image

I tried pasting markdown but it kept flubbing the formatting.

Analysis

It seems like there are a lot of small byte[] allocations and copies that in some cases could be removed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions