-
-
Notifications
You must be signed in to change notification settings - Fork 837
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
Decorator Performance Improvements #1194
Conversation
…leware, to avoid the extra decorator update
@autofac-bot help |
Updated benchmarks:
|
Codecov Report
@@ Coverage Diff @@
## develop #1194 +/- ##
===========================================
+ Coverage 75.78% 75.79% +0.01%
===========================================
Files 189 189
Lines 4678 4680 +2
Branches 956 956
===========================================
+ Hits 3545 3547 +2
Misses 676 676
Partials 457 457
Continue to review full report at Codecov.
|
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.
🍢
These changes largely bring decorators "back into the fold" performance-wise; most of the improvement is about when we update the decorator context; doing it in the start of the 'next' decorator means we avoid an additional allocation, list copy, etc.