At FastComments we run our E2E tests on the new instance to JIT the app. Before the Jit API calls can take 100ms, and after 10-30ms. Still, that is fast enough that most people wouldn't notice...
Also, the problem is not Java. Your application probably has way too many abstractions for a simple login page.