Skip to content

Investigate size increase when EventPipe library is enabled in NativeAOT #87201

Open
@LakshanF

Description

@LakshanF

When EventPipe library is opted in for a NativeAOT application (for example, with EventSourceSupport property set to true), the application will increase in size. The EventPipe library is native but looks like the major increase in size comes from managed code. There is managed code that gets enabled with the EventSourceSupport enabled but needs to be investigated further.

A quick investigation by @MichalStrehovsky on the BasicMinimalApi on the NativeAOT ASP.NET benchmark using SizeBench and Sizoscope shows managed code to contribute over 70% of the size increase.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions