Skip to content

CPU Spike at startup #939

@verdie-g

Description

@verdie-g

When calling for the first time OrderBy, it seems like it iterates on all types of all loaded assemblies. That does not scale and consumes 20% of the CPU for ~1 minute during the startup of my application.

Additionally, it seems like there is no synchronization around this operation so all threads are racing.

Image

Is there an opportunity to lazily load the type metadata individually?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions