Skip to content

Conversation

@davidfowl
Copy link
Member

  • Remove empty CreateInstanceCallSite file
  • Removed ServiceScopeFactoryCallsite and used ConstantCallsite instead.
  • Added fast path if the value is already cached on the callsite.

- Remove empty CreateInstanceCallSite file
- Removed ServiceScopeFactoryCallsite and used ConstantCallsite instead.
- Added fast path if the value is already cached on the callsite.
@ghost
Copy link

ghost commented Jun 25, 2021

Tagging subscribers to this area: @eerhardt, @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details
  • Remove empty CreateInstanceCallSite file
  • Removed ServiceScopeFactoryCallsite and used ConstantCallsite instead.
  • Added fast path if the value is already cached on the callsite.
Author: davidfowl
Assignees: -
Labels:

area-Extensions-DependencyInjection

Milestone: -

@davidfowl davidfowl requested review from eerhardt and pakrym June 25, 2021 08:21
@davidfowl
Copy link
Member Author

/azp list

@azure-pipelines
Copy link

@davidfowl
Copy link
Member Author

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@davidfowl
Copy link
Member Author

/azp run runtime-dev-innerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@davidfowl
Copy link
Member Author

/azp run runtime-staging

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@davidfowl
Copy link
Member Author

/azp run dotnet-linker-tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@davidfowl
Copy link
Member Author

Test failures are unrelated. SocketsHttpHandler test timing out, mono interpreter test with System.Security.Cryptography.Xml.Tests are crashing.

@davidfowl davidfowl merged commit c7e37b1 into main Jun 26, 2021
@eerhardt eerhardt deleted the davidfowl/di-cleanup branch June 27, 2021 14:00
@kunalspathak
Copy link
Contributor

Perf regression in arm64: DrewScoggins/performance-2#7130

@kunalspathak
Copy link
Contributor

Perf improvements in arm64: DrewScoggins/performance-2#7137

@davidfowl
Copy link
Member Author

So it both regressed and improved performance. I like it.

@kunalspathak
Copy link
Contributor

Are the regressions expected?

@davidfowl
Copy link
Member Author

No, I'm not sure why it regressed.

@davidfowl
Copy link
Member Author

My guess is that this change #55340 fixed the regression.

@kunalspathak
Copy link
Contributor

Looks to be the case:
image

@davidfowl
Copy link
Member Author

Excellent

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants