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

filters/auth: add jwtMetrics benchmark #3402

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

AlexanderYastrebov
Copy link
Member

$ go test ./filters/auth/ -run=NONE '-bench=BenchmarkJwtMetrics$' -count=10 | benchstat -
goos: linux
goarch: amd64
pkg: github.com/zalando/skipper/filters/auth
cpu: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
             │      -      │
             │   sec/op    │
JwtMetrics-8   2.279µ ± 4%

             │     -      │
             │    B/op    │
JwtMetrics-8   747.0 ± 0%

             │     -      │
             │ allocs/op  │
JwtMetrics-8   19.00 ± 0%

```console
$ go test ./filters/auth/ -run=NONE '-bench=BenchmarkJwtMetrics$' -count=10 | benchstat -
goos: linux
goarch: amd64
pkg: github.com/zalando/skipper/filters/auth
cpu: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
             │      -      │
             │   sec/op    │
JwtMetrics-8   2.279µ ± 4%

             │     -      │
             │    B/op    │
JwtMetrics-8   747.0 ± 0%

             │     -      │
             │ allocs/op  │
JwtMetrics-8   19.00 ± 0%
```

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
@AlexanderYastrebov AlexanderYastrebov added the minor no risk changes, for example new filters label Feb 10, 2025
@MustafaSaber
Copy link
Member

👍

1 similar comment
@AlexanderYastrebov
Copy link
Member Author

👍

@AlexanderYastrebov AlexanderYastrebov merged commit 128b437 into master Feb 10, 2025
14 checks passed
@AlexanderYastrebov AlexanderYastrebov deleted the filters/auth/benchmark-jwt-metrics-2 branch February 10, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor no risk changes, for example new filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants