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

jwt: benchmark Parse #2958

Merged
merged 1 commit into from
Feb 27, 2024
Merged

jwt: benchmark Parse #2958

merged 1 commit into from
Feb 27, 2024

Conversation

AlexanderYastrebov
Copy link
Member

$ benchstat <(go test ./jwt -run=NONE -bench=BenchmarkParse -count=10)
goos: linux
goarch: amd64
pkg: github.com/zalando/skipper/jwt
cpu: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
        │ /dev/fd/63  │
        │   sec/op    │
Parse-8   13.53µ ± 8%

        │  /dev/fd/63  │
        │     B/op     │
Parse-8   1.656Ki ± 0%

        │ /dev/fd/63 │
        │ allocs/op  │
Parse-8   40.00 ± 0%

```
$ benchstat <(go test ./jwt -run=NONE -bench=BenchmarkParse -count=10)
goos: linux
goarch: amd64
pkg: github.com/zalando/skipper/jwt
cpu: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
        │ /dev/fd/63  │
        │   sec/op    │
Parse-8   13.53µ ± 8%

        │  /dev/fd/63  │
        │     B/op     │
Parse-8   1.656Ki ± 0%

        │ /dev/fd/63 │
        │ allocs/op  │
Parse-8   40.00 ± 0%
```

Signed-off-by: Alexander Yastrebov <[email protected]>
@AlexanderYastrebov AlexanderYastrebov added the minor no risk changes, for example new filters label Feb 27, 2024
@MustafaSaber
Copy link
Member

👍

1 similar comment
@szuecs
Copy link
Member

szuecs commented Feb 27, 2024

👍

@szuecs szuecs merged commit 7041036 into master Feb 27, 2024
14 checks passed
@szuecs szuecs deleted the jwt/benchmark-parse branch February 27, 2024 16:08
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.

3 participants