dotnet / dotnet/runtime

EventSource has no reflection-free public entry point

Open
#124,009 4 comments 0 reactions 0 assignees View on GitHub
area-System.Diagnostics.Tracing
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Everything using EventSource must go through either WriteEvent or Write, both of which require reflection on either the input type, or the event definition method.

We should provide a way to bypass the reflection portions, both for AOT-compatibility and eliminating the reflection overhead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.