-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the DNMD APIs to act on single rows and bring other perf improvements from the CoreCLR + DNMD experiment to DNMD. #55
Merged
jkoritzinsky
merged 15 commits into
AaronRobinsonMSFT:master
from
jkoritzinsky:perftest-results-msvc
Oct 17, 2024
Merged
Change the DNMD APIs to act on single rows and bring other perf improvements from the CoreCLR + DNMD experiment to DNMD. #55
jkoritzinsky
merged 15 commits into
AaronRobinsonMSFT:master
from
jkoritzinsky:perftest-results-msvc
Oct 17, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…vements from the CoreCLR + DNMD experiment to DNMD.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm halfway done. There is some sloppiness here that is concerning. I see a great deal of code changes that seem to introduce new code paths that aren't clear why and it is hard to ensure I didn't miss anything.
…s successful so compiler control flow analysis doesn't see fcxt as uninitialized.
AaronRobinsonMSFT
approved these changes
Oct 17, 2024
jkoritzinsky
added a commit
to jkoritzinsky/runtime
that referenced
this pull request
Oct 17, 2024
…vements from the CoreCLR + DNMD experiment to DNMD. Port of AaronRobinsonMSFT/DNMD#55
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes the various DNMD column reading/writing APIs to act primarily on 1 row instead of being designed primarily for bulk processing. The vast majority of usages are for single-row operations.
Also bring back a variety of different optimizations that (all in combination and with the changes above) gets an implementation of CoreCLR's
IMDInternalImport
for read-only usage to be almost 2% faster in my local benchmark.I'm not bringing that interface into DNMD with this PR as that implementation also requires changes to
IMDInternalImport
to support DNMD's implementation (and as a result is not compatible with stock CoreCLR). Additionally,IMDInternalImport
's implementation is (as the name implies) internal to CoreCLR and not intended for public consumption.When bringing DNMD into CoreCLR, I'll include the implementation with the requisite changes.