Skip to content

Improve performance: JWT decoder cache - benchmark [do not merge] - #370

Draft
skjolber wants to merge 12 commits into
optimizeJwtDecodingfrom
optimizeJwtDecodingPerformanceTesting
Draft

skjolber wants to merge 12 commits into
optimizeJwtDecodingfrom
optimizeJwtDecodingPerformanceTesting

Merge commit 'f28ce98' into optimizeJwtDecodingPerformanceTesting

04e0de1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 1, 2026 in 31s

Annotations

Check warning on line 54 in jwt-server/spring/jwt-spring-web/src/test/java/org/entur/jwt/spring/perf/DecodedJwtCacheHttpBenchmarkCachedTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "@ExtendWith" annotation, already implied by "@SpringBootTest".

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaCG_SxMP4vkgQyvknFU&open=AaCG_SxMP4vkgQyvknFU&pullRequest=370

Check warning on line 185 in jwt-server/spring/jwt-spring-grpc-native/src/test/java/org/entur/jwt/spring/grpc/perf/GrpcBenchmarkSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "TimeUnit.sleep()".

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaC2XN4hi7fsNIaXQw1l&open=AaC2XN4hi7fsNIaXQw1l&pullRequest=370

Check warning on line 53 in jwt-server/spring/jwt-spring-common/src/test/java/org/entur/jwt/spring/decode/cache/DecodedJwtCacheJwtDecoderBenchmarkTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant visibility modifiers from the methods of this test class.

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaCG_S1CP4vkgQyvknFW&open=AaCG_S1CP4vkgQyvknFW&pullRequest=370

Check warning on line 51 in jwt-server/spring/jwt-spring-web/src/test/java/org/entur/jwt/spring/perf/DecodedJwtCacheHttpBenchmarkNoCacheTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "@ExtendWith" annotation, already implied by "@SpringBootTest".

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaCG_S06P4vkgQyvknFV&open=AaCG_S06P4vkgQyvknFV&pullRequest=370

Check warning on line 46 in jwt-server/spring/jwt-spring-web/src/test/java/org/entur/jwt/spring/perf/DecodedJwtCacheHttpBenchmarkColdStartNoCacheTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "@ExtendWith" annotation, already implied by "@SpringBootTest".

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaC2MONXeq5GADrSeT86&open=AaC2MONXeq5GADrSeT86&pullRequest=370

Check warning on line 50 in jwt-server/spring/jwt-spring-web/src/test/java/org/entur/jwt/spring/perf/DecodedJwtCacheHttpBenchmarkColdStartCachedTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "@ExtendWith" annotation, already implied by "@SpringBootTest".

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaC2MOQQeq5GADrSeT87&open=AaC2MOQQeq5GADrSeT87&pullRequest=370

Check warning on line 183 in jwt-server/spring/jwt-spring-web/src/test/java/org/entur/jwt/spring/perf/HttpBenchmarkSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "TimeUnit.sleep()".

See more on https://sonarcloud.io/project/issues?id=entur_jwt-resource-server&issues=AaC2XN1Yi7fsNIaXQw1k&open=AaC2XN1Yi7fsNIaXQw1k&pullRequest=370