-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update to .NET 7 #7698
Update to .NET 7 #7698
Conversation
frameworks/CSharp/aspnetcore/PlatformBenchmarks/BenchmarkApplication.cs
Outdated
Show resolved
Hide resolved
frameworks/CSharp/aspnetcore/PlatformBenchmarks/BenchmarkApplication.Fortunes.cs
Outdated
Show resolved
Hide resolved
frameworks/CSharp/aspnetcore/PlatformBenchmarks/BenchmarkApplication.Json.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Shouldn't really matter both the same; .csproj is the more current way of doing it, and didn't feel like taking it out of 20 docker files 😅 |
I'd say for the best performance we also need But don't disable |
_headerServer + _crlf + | ||
_headerContentTypeHtml + _crlf + | ||
_headerContentLength; | ||
private static ReadOnlySpan<byte> _fortunesPreamble => |
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.
Glad to see AsciiString is no more 🎉
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.
C# caught up 😉
Already there |
@benaadams you can also improve FrameworkBenchmarks/frameworks/CSharp/aspnetcore/PlatformBenchmarks/DateHeader.cs Line 30 in bec2f23
|
@sebastienros sure, there's a bit work left on my side in any case (e.g. aspnet/Benchmarks#1764). Let's get this merged and I'll submit a separate database PR later. |
👍 |
@benaadams if you can run: $ curl -L https://github.com/TechEmpower/FrameworkBenchmarks/commit/b0a0c17aaa94ff2187018f59656f83e10cea4c11.patch | git am It would add support for PublishAot. I have that one in a separate pull request (#7720) and the CI already ran on it. Or that pull request can wait until this one merges, whenever that is. We can also delete frameworks/CSharp/aspnetcore-corert because it ran its course (and has actually been broken for a while because it uses .NET 7 with ASP.NET 6 and there was a breaking change in Quic APIs). |
Done and removed the corert framework; as suggested, since adding more variants that are equivalent |
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.
Thank you!
Co-authored-by: Damian Edwards <damian@damianedwards.com>
Applied |
@benaadams Can we change GetRequestType to use a switch expression on the path? |
@benaadams Let me know when this is ready! |
Is good to go now; will do follow up for other changes |
/cc @sebastienros