Skip to content

added langversion to benchmark csproj#2601

Merged
jennyf19 merged 1 commit into
devfrom
lozensky/UpdateBenchmarksToLangVersion12
May 21, 2024
Merged

added langversion to benchmark csproj#2601
jennyf19 merged 1 commit into
devfrom
lozensky/UpdateBenchmarksToLangVersion12

Conversation

@JoshLozensky

@JoshLozensky JoshLozensky commented May 19, 2024

Copy link
Copy Markdown
Contributor

Upping the benchmark language version to 12. Benchmarks didn't seem to see any significant difference to me it looks like noise rather than any real difference in the benchmarks.

"diff in mean" = C#v12 - C#v10 .... so negative numbers mean the upgrade ran faster and vice versa

Test Name diff in mean (μs) margin of error(μs) outside margin of error
JsonWebTokenHandler_CreateJWE 2.9 1.62 yes
JsonWebTokenHandler_CreateToken -35.5 9.46 yes
JsonWebTokenHandler_ValidateTokenAsync 0.13 0.084 yes
JwtSecurityTokenHandler_CreateJWE 5.5 1.49 yes
JwtSecurityTokenHandler_ValidateTokenAsync 0.34 0.142 yes
ReadJWE_FromString -0.233 0.0905 yes
SignSpanWithArrayPoolRSA 3.3 2.07 yes
JsonWebTokenHandler_ValidateJWEAsync -0.05 0.854 no
JwtSecurityTokenHandler_ValidateJWEAsync 0.2 0.347 no
ReadJWE_FromMemory -0.037 0.0755 no
ReadJWS_FromMemory 0.034 0.0365 no
ReadJWS_FromString 0.034 0.0821 no
SHRHandler_CreateSignedHttpRequest 11 20.7 no
SHRHandler_ValidateSignedHttpRequestAsync 0.25 0.343 no
SignDotnetCreatingBufferRSA 0.6 1.65 no
SignSpanWithFixedBufferRSA -2.3 4.48 no

@JoshLozensky JoshLozensky requested a review from a team as a code owner May 19, 2024 22:54
@keegan-caruso

Copy link
Copy Markdown
Contributor

what was the environment used?

@jennyf19 jennyf19 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

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

Successfully merging this pull request may close these issues.

4 participants