I’m using Guice 3 on Google App Engine 1.6.4. Today, I saw something bad on my startup time. My application (local launching) took 12 sec to start.
I got one ServletModule where I’m writing all my bindings in the configureServlets method.
When I left this method empty, my application take 3 sec to start.
This method contains ~30 binding, 3 MultiBinder and 1 mapBinder…
- Is it a normal starting time ? (~9s)
- How to profile Guice processing ? (log,etc..)
- Is there some good practices to optimize Guice startup ?
Thanks!
Switching to
Google App Engine1.6.3or1.6.5solve the problem. It seems that it’s aGoogle App Engine1.6.4issue.Thanks for your help !