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!
pass1 source share