7.4.0-preview1 #2488
Replies: 4 comments 1 reply
-
@leastprivilege @kevinchalet @brockallen: please try out the preview version and share your comments. |
Beta Was this translation helpful? Give feedback.
-
@keegan-caruso found that ReadJWETokenTests is not an appropriate benchmark for assessing JWE creation performance. Claims are not populated during JsonWebToken creation since the token is encrypted; they are only populated during validation when the token is decrypted. ValidateJWEAsyncTests is a more suitable benchmarks that creates and validates a JWE. On running this benchmark, there is no performance concern. There is a .5% reduction in memory allocation. sruthi/JsonWebTokenSpan BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22631.3007), VM=Hyper-V
AMD EPYC 7763, 1 CPU, 16 logical and 8 physical cores
.NET SDK=8.0.200-preview.23624.5
[Host] : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
MediumRun : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
Job=MediumRun MaxAbsoluteError=10.0000 ms IterationCount=15
LaunchCount=4 WarmupCount=10
dev BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22631.3007), VM=Hyper-V
AMD EPYC 7763, 1 CPU, 16 logical and 8 physical cores
.NET SDK=8.0.200-preview.23624.5
[Host] : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
MediumRun : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
Job=MediumRun MaxAbsoluteError=10.0000 ms IterationCount=15
LaunchCount=4 WarmupCount=10
|
Beta Was this translation helpful? Give feedback.
-
I just gave 7.4.0-preview1 a try and I didn't notice any regression in my ASP.NET 4.8 and ASP.NET Core 2.1/8.0 sandbox apps: great job!
Woo, that's a nice little CPU you got, @sruke 😄 |
Beta Was this translation helpful? Give feedback.
-
Same, thanks. |
Beta Was this translation helpful? Give feedback.
-
7.4.0-preview1
Performance Improvements:
Performance Assessment on .NET 8:
Preview branch:
Dev (main) branch:
View the benchmarks here.
Why give it a try?
Your feedback is much appreciated. Please try out the preview version and share your comments and suggestions promptly as it would us further refine the design.
This discussion was created from the release 7.4.0-preview1.
Beta Was this translation helpful? Give feedback.
All reactions