Skip to content

Commit

Permalink
Update benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaytak committed Nov 5, 2024
1 parent 02431bc commit b1a7d79
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public async Task SetupAsync()

_claimsIdentity = (await _jsonWebTokenHandler.ValidateTokenAsync(_jwsWithExtendedClaims, _tokenValidationParameters).ConfigureAwait(false)).ClaimsIdentity;
_newClaimsIdentity = (await _jsonWebTokenHandler.ValidateTokenAsync(_jwsWithExtendedClaims, _newTokenValidationParameters).ConfigureAwait(false)).ClaimsIdentity as SecurityTokenClaimsIdentity;
_ = _claimsIdentity.Claims;
_ = _newClaimsIdentity.Claims;
}

[Benchmark(Baseline = true), BenchmarkCategory("FindFirst")]
Expand Down

0 comments on commit b1a7d79

Please sign in to comment.