Skip to content

Remove MakeGenericMethod from the query hot path #27437

Description

@roji

When calling terminating operators such as Single, Average, we currently call MakeGenericMethod, which is slow; when running a basic tracking query + update against InMemory, this (and the related GetGenericArguments) take up around 0.6% of the running time with Npgsql, around 6% with InMemory.

We could probably follow the runtime's pattern to get rid of this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions