Skip to content

ArrayPool logging initialization is 70% of startup for empty program #9579

@jkotas

Description

@jkotas

Empty program executes about 320 managed methods today (in release build). Initialization of ArrayPool logging (ArrayPoolEventSource) is responsible for 220 of them. When the ArrayPool initialization is commented out, I am back to about 100 where we used to to be historically.

Is the ArrayPool logging valueable enough to contribute this much to startup cost of empty program? Can we make it cheaper or not have it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions