Skip to content

.NET object activation #1

Description

@MarkPflug

Hi Joel.
I was reading through the .NET 6 performance blog that Stephen Toub published recently, and came across a section that reminded me of your object activation blog post. Apparently .NET 6 improves the performance of new T() for generic type activation. The relevant text is under the reflection section, search for "Activator.CreateInstance" to find the relevant paragraph. I thought it might be interesting to compare whether your cached-emit-activator approach is still a performance win in .NET 6, or if the simpler new T() approach is now on-par.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions