Skip to content

Commit

Permalink
Event listener overhead reduction pt. 3 (#52455)
Browse files Browse the repository at this point in the history
* Remove unused field

* Reduce common-case EventWrittenEventArgs overheads

Store PayloadNames on EventMetadata instead of EventWrittenEventArgs

* Avoid duplication around TraceLoggingEventTypes

* Move GetParameterNames into property getter

* While => For

* Add EventMetadata.ParameterTypes

* Defer fetching ParameterTypes

* Add RequiresUnreferencedCode attribute to TraceLoggingEventTypes getter

* Revert init => get

* ActivityId => RelatedActivityId

* Remove eventId arg from DispatchToAllListeners

* Store the first caller's ActivityId in EventWrittenEventArgs

* Move ActivityId from MoreInfo to base object
  • Loading branch information
MihaZupan authored May 12, 2021
1 parent 8695eed commit 2e618ff
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 279 deletions.
Loading

0 comments on commit 2e618ff

Please sign in to comment.