dotnet / dotnet/runtime

[cDAC] Investigate perf of typehandle lookup by name

Open
#124,413 1 comment 0 reactions 0 assignees View on GitHub
area-Diagnostics-cdac
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

As of https://github.com/dotnet/runtime/pull/120114 the cDAC does a brute force linear scan of all typedefs in a module to look up a typehandle by name. This is as opposed to the native implementation that does a hash based lookup in the EEClassHashTable. We should look into the performance impact of this and ways to improve the cDAC implementation, including through exposing the runtime algorithm to the cDAC and/or simplifying the runtime algorithm to make it easier to expose.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.