Skip to content

chore(fmt): gofmt -w on jwtbearer.go + par_serialise.go - #68

Merged
thegdsks merged 1 commit into
mainfrom
chore/gofmt-fixup-2026-06-22
Jun 22, 2026
Merged

chore(fmt): gofmt -w on jwtbearer.go + par_serialise.go#68
thegdsks merged 1 commit into
mainfrom
chore/gofmt-fixup-2026-06-22

Conversation

@thegdsks

Copy link
Copy Markdown
Member

Two files merged with trailing-whitespace gofmt debt. Pure whitespace; no behavior change.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark regression report

Threshold: 25%

goos: linux
goarch: amd64
pkg: github.com/glincker/theauth-go
cpu: AMD EPYC 7763 64-Core Processor                
                     │ base-bench.txt │         pr-bench.txt          │
                     │     sec/op     │   sec/op     vs base          │
RateLimitReadHeavy-4      78.45n ± 4%   77.51n ± 5%  ~ (p=0.075 n=10)

                     │ base-bench.txt │          pr-bench.txt          │
                     │      B/op      │    B/op     vs base            │
RateLimitReadHeavy-4       0.000 ± 0%   0.000 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal

                     │ base-bench.txt │          pr-bench.txt          │
                     │   allocs/op    │ allocs/op   vs base            │
RateLimitReadHeavy-4       0.000 ± 0%   0.000 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal

pkg: github.com/glincker/theauth-go/crypto
               │ base-bench.txt │            pr-bench.txt            │
               │     sec/op     │   sec/op     vs base               │
Argon2Hash-4        45.14m ± 3%   46.03m ± 3%  +1.98% (p=0.023 n=10)
Argon2Verify-4      44.79m ± 1%   45.69m ± 1%  +2.00% (p=0.000 n=10)
geomean             44.96m        45.86m       +1.99%

               │ base-bench.txt │            pr-bench.txt             │
               │      B/op      │     B/op      vs base               │
Argon2Hash-4       64.01Mi ± 0%   64.01Mi ± 0%       ~ (p=0.684 n=10)
Argon2Verify-4     64.01Mi ± 0%   64.01Mi ± 0%       ~ (p=0.403 n=10)
geomean            64.01Mi        64.01Mi       +0.00%

               │ base-bench.txt │           pr-bench.txt            │
               │   allocs/op    │ allocs/op   vs base               │
Argon2Hash-4         102.0 ± 0%   102.0 ± 0%       ~ (p=1.000 n=10)
Argon2Verify-4       103.0 ± 1%   104.0 ± 1%       ~ (p=0.370 n=10)
geomean              102.5        103.0       +0.48%

pkg: github.com/glincker/theauth-go/internal/bench
                               │ base-bench.txt │            pr-bench.txt            │
                               │     sec/op     │   sec/op     vs base               │
AuditRedactor-4                     1.349µ ± 0%   1.358µ ± 0%  +0.63% (p=0.000 n=10)
OAuthCallback-4                     992.5n ± 0%   990.5n ± 1%       ~ (p=0.481 n=10)
OAuthCodeFlow-4                     48.13µ ± 1%   47.94µ ± 1%       ~ (p=0.631 n=10)
OAuthTokenEndpointRefreshHit-4      49.51µ ± 1%   48.94µ ± 1%  -1.14% (p=0.011 n=10)
JWKSEndpoint-4                      6.748µ ± 2%   6.612µ ± 1%  -2.03% (p=0.000 n=10)
SCIMTokenAuth-4                     18.01µ ± 2%   17.40µ ± 1%  -3.34% (p=0.000 n=10)
SessionLookup-4                     9.259µ ± 1%   8.550µ ± 1%  -7.66% (p=0.000 n=10)
geomean                             8.638µ        8.461µ       -2.05%

                               │ base-bench.txt │             pr-bench.txt              │
                               │      B/op      │     B/op      vs base                 │
AuditRedactor-4                      672.0 ± 0%     672.0 ± 0%       ~ (p=1.000 n=10) ¹
OAuthCallback-4                    1.344Ki ± 0%   1.344Ki ± 0%       ~ (p=1.000 n=10) ¹
OAuthCodeFlow-4                    15.78Ki ± 0%   15.78Ki ± 0%  -0.02% (p=0.023 n=10)
OAuthTokenEndpointRefreshHit-4     15.54Ki ± 0%   15.54Ki ± 0%  -0.01% (p=0.001 n=10)
JWKSEndpoint-4                     2.963Ki ± 0%   2.963Ki ± 0%       ~ (p=1.000 n=10) ¹
SCIMTokenAuth-4                    9.765Ki ± 0%   9.765Ki ± 0%       ~ (p=0.557 n=10)
SessionLookup-4                    8.451Ki ± 0%   8.451Ki ± 0%       ~ (p=1.000 n=10) ¹
geomean                            4.729Ki        4.729Ki       -0.00%
¹ all samples are equal

                               │ base-bench.txt │            pr-bench.txt             │
                               │   allocs/op    │ allocs/op   vs base                 │
AuditRedactor-4                      4.000 ± 0%   4.000 ± 0%       ~ (p=1.000 n=10) ¹
OAuthCallback-4                      5.000 ± 0%   5.000 ± 0%       ~ (p=1.000 n=10) ¹
OAuthCodeFlow-4                      100.0 ± 0%   100.0 ± 0%       ~ (p=1.000 n=10) ¹
OAuthTokenEndpointRefreshHit-4       100.0 ± 0%   100.0 ± 0%       ~ (p=1.000 n=10) ¹
JWKSEndpoint-4                       37.00 ± 0%   37.00 ± 0%       ~ (p=1.000 n=10) ¹
SCIMTokenAuth-4                      56.00 ± 0%   56.00 ± 0%       ~ (p=1.000 n=10) ¹
SessionLookup-4                      42.00 ± 0%   42.00 ± 0%       ~ (p=1.000 n=10) ¹
geomean                              29.04        29.04       +0.00%
¹ all samples are equal

pkg: github.com/glincker/theauth-go/internal/jwt
            │ base-bench.txt │            pr-bench.txt            │
            │     sec/op     │   sec/op     vs base               │
JWTSign-4        30.95µ ± 0%   30.94µ ± 0%       ~ (p=0.424 n=10)
JWTVerify-4      72.13µ ± 1%   71.85µ ± 1%  -0.38% (p=0.023 n=10)
geomean          47.25µ        47.15µ       -0.20%

            │ base-bench.txt │             pr-bench.txt              │
            │      B/op      │     B/op      vs base                 │
JWTSign-4       2.782Ki ± 0%   2.782Ki ± 0%       ~ (p=1.000 n=10) ¹
JWTVerify-4     3.422Ki ± 0%   3.422Ki ± 0%       ~ (p=1.000 n=10) ¹
geomean         3.086Ki        3.086Ki       +0.00%
¹ all samples are equal

            │ base-bench.txt │            pr-bench.txt             │
            │   allocs/op    │ allocs/op   vs base                 │
JWTSign-4         15.00 ± 0%   15.00 ± 0%       ~ (p=1.000 n=10) ¹
JWTVerify-4       61.00 ± 0%   61.00 ± 0%       ~ (p=1.000 n=10) ¹
geomean           30.25        30.25       +0.00%
¹ all samples are equal

Generated by the bench workflow. A + delta means the PR branch is slower.

@thegdsks
thegdsks merged commit 77641cb into main Jun 22, 2026
4 checks passed
@thegdsks
thegdsks deleted the chore/gofmt-fixup-2026-06-22 branch June 22, 2026 21:13
thegdsks added a commit that referenced this pull request Jun 23, 2026
Adds the v2.4.0 CHANGELOG entry (PRs #57-#68) and 14 new/updated docs pages:
MySQL backend, PAR+JAR, JWT-Bearer, CIBA, Cognito/Auth0 migration guides,
SOC2/GDPR compliance pages, storagetest reference, updated configuration
reference, release verification note, and v2.3-to-v2.4 migration guide.
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.

1 participant