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

Upgrade to dotnet 7 #215

Closed
7 tasks
tpill90 opened this issue Nov 13, 2022 · 6 comments
Closed
7 tasks

Upgrade to dotnet 7 #215

tpill90 opened this issue Nov 13, 2022 · 6 comments

Comments

@tpill90
Copy link
Owner

tpill90 commented Nov 13, 2022

Tasks

@tpill90
Copy link
Owner Author

tpill90 commented Nov 13, 2022

I'm seeing a large increase in CPU consumption by upgrading to dotnet7, however throughput is nearly the same as using dotnet 6

dotnet6 CPU

image

dotnet7 CPU

image

@tpill90
Copy link
Owner Author

tpill90 commented Nov 13, 2022

Potentially related issue dotnet/runtime#78127

@AndyAyersMS
Copy link

@tpill90 curious if you ever tracked this one down.

The issue you noted above looks to be fixed in .NET 8 (the fix will first show up in Preview 4, likely available sometime in May). But the change you noticed may be caused by something else.

@tpill90
Copy link
Owner Author

tpill90 commented Apr 5, 2023

@AndyAyersMS

I haven't looked at this recently, not since I initially made this issue. I did some profiling then with both Visual Studio and dotTrace, but wasn't able to find anything obvious in my code that seemed to be the issue. There certainly was an increase in resource consumption, but I couldn't tell where it was my code versus the framework.

I'll come back around to this in May and see if anything changes. I'll let you know the results either way. Thanks for checking in!

@tpill90 tpill90 added the pending release Fix has been merged, needs to be published label Nov 26, 2023
@tpill90
Copy link
Owner Author

tpill90 commented Dec 1, 2023

Released in v2.3.0

@tpill90
Copy link
Owner Author

tpill90 commented Dec 1, 2023

@AndyAyersMS Looks like this is no longer an issue in .NET 8. Tested on both .NET 6 and .NET 8 and they have the same throughput and CPU consumption.

@tpill90 tpill90 closed this as completed Dec 1, 2023
@tpill90 tpill90 removed the pending release Fix has been merged, needs to be published label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants