Skip to content
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

Defer DiaSession's symbol init (it is unused by WinPix (or anyone?)) #6187

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

jeffnn
Copy link
Collaborator

@jeffnn jeffnn commented Jan 23, 2024

The init of the dia symbol manager presents an unneccessary performance hit for WinPix. It's quite simple to defer the init, so here we are.
(This dia implementation was originally added specifically for WinPix, but was then superseded by a simpler API. It's entirely possible that there are no other clients of the dia interface at all, but it has been published, so we're probably bound to maintain it.)
(Note that there are other deferment opportunities here, but the larger pending work is to disentangle the dia implementation from that of the new "IDxcPix*" API that WinPix uses, which would obviate deferment altogether, but that's way out of scope for me for now.)

@jeffnn jeffnn self-assigned this Jan 23, 2024
@jeffnn jeffnn merged commit 05b9413 into microsoft:main Jan 23, 2024
13 checks passed
@jeffnn jeffnn deleted the PIX_DeferSymManager branch January 23, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants