-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Use dynamically compiled factory instead of Activator.CreateInstance in TypedClientBuilder #14615
Conversation
71f3429
to
cd2ab87
Compare
Maybe I'm missing it, but you seem to be missing some recent changes to this file, could you rebase on master? |
Hmm, looks like I based it of my origin master which is pretty far behind, but GitHub says it's automatically mergeable though... |
cd2ab87
to
1067df4
Compare
Alright, got rid of |
Hmm, I think it might be even cleaner to generate a static |
/azp run AspNetCore-ci |
Azure Pipelines successfully started running 1 pipeline(s). |
9de4d25
to
9656655
Compare
/azp run AspNetCore-ci |
Commenter does not have sufficient privileges for PR 14615 in repo aspnet/AspNetCore |
/azp run AspNetCore-ci |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks @khellang ! |
Thank you ❤️ |
This should shave off some milliseconds every time a typed client is constructed 😄
There's already tests covering these paths, but I added an extra benchmark, shown below.
Before
After