Keycloak 7 benchmark?

Hi, was KC 7 benchmarked against previous versions of KC? We recently upgraded our portal from 3.4.3 to 7.0.1 (development environment only). When I benchmark login times with JMeter I’m seeing significant performance degradation with 7.0.1. We are running KC in a Docker container on Kubernetes in Azure.

Median login times (20 threads, 5 minutes) API: /auth/realms/cdpc/login-actions
KC 3.4.3 1521 ms
KC 7.0.1 5505 ms

If memory serves me correctly the defaults for password hashing was increased a lot since 3.4.3, which may be the cause of the difference in performance. Try to make sure you have the same policy in 3.4.3 and 7.0.1. If there is still a big difference let us know.

I rolled back my Dev environment from KC 7.0.1 to KC 3.4.3 (with the latest portal code) and retested. It turns out the KC 7 was not the culprit (yeah!). Our team had added additional logic to get JWTs for various email verification features.