Guice Launch Time in Google App Engine 1.6.4

I am using Guice 3 in Google App Engine 1.6.4. Today I saw something bad at the time of launch. My application (local launch) took 12 seconds to start.

I have one ServletModule where I write all my bindings in the configureServlets method. When I left this method empty, my application takes 3 seconds to start.

This method contains ~ 30 bindings, 3 MultiBinder and 1 mapBinder ...

  • Is this the usual start time? (~ 9s)
  • How to profile Guice processing? (Magazine, etc ..)
  • Are there any good practices for optimizing the launch of Guice?

Thanks!

+6
source share
1 answer

Switching to Google App Engine 1.6.3 or 1.6.5 solve the problem. This seems to be a question from Google App Engine 1.6.4 . Thanks for your help!

+2
source

Source: https://habr.com/ru/post/913974/


All Articles