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

Try to fix benchmark using https://github.com/dotnet/BenchmarkDotNet/… #311

Merged
merged 1 commit into from
Jul 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion perf/Benchmarks/ValidateEncryptedToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ namespace JsonWebToken.Performance
[BenchmarkCategory("CI-CD")]
public class ValidateEncryptedToken : ValidateToken
{
public ValidateEncryptedToken()
[GlobalSetup]
public void Setup()
{
Jwt("JWE-empty");
Wilson("JWE-empty");
Expand Down
3 changes: 2 additions & 1 deletion perf/Benchmarks/ValidateSignedToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ namespace JsonWebToken.Performance
[BenchmarkCategory("CI-CD")]
public class ValidateSignedToken : ValidateToken
{
public ValidateSignedToken()
[GlobalSetup]
public void Setup()
{
Jwt("JWS-empty");
Wilson("JWS-empty");
Expand Down
3 changes: 2 additions & 1 deletion perf/Benchmarks/ValidateUnsignedToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ namespace JsonWebToken.Performance
[BenchmarkCategory("CI-CD")]
public class ValidateUnsignedToken : ValidateToken
{
public ValidateUnsignedToken()
[GlobalSetup]
public void Setup()
{
Jwt("JWT-empty");
Wilson("JWT-empty");
Expand Down
3 changes: 2 additions & 1 deletion perf/Benchmarks/WriteEncryptedToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ namespace JsonWebToken.Performance
[BenchmarkCategory("CI-CD")]
public class WriteEncryptedToken : WriteToken
{
public WriteEncryptedToken()
[GlobalSetup]
public void Setup()
{
Jwt("JWE-empty");
Wilson("JWE-empty");
Expand Down
3 changes: 2 additions & 1 deletion perf/Benchmarks/WriteSignedToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ namespace JsonWebToken.Performance
[BenchmarkCategory("CI-CD")]
public class WriteSignedToken : WriteToken
{
public WriteSignedToken()
[GlobalSetup]
public void Setup()
{
Jwt("JWS-empty");
Wilson("JWS-empty");
Expand Down
3 changes: 2 additions & 1 deletion perf/Benchmarks/WriteUnsignedToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ namespace JsonWebToken.Performance
[BenchmarkCategory("CI-CD")]
public class WriteUnsignedToken : WriteToken
{
public WriteUnsignedToken()
[GlobalSetup]
public void Setup()
{
Jwt("JWT-empty");
Wilson("JWT-empty");
Expand Down