This is a known issue due to the way in which FactoryProvider2 operates. For the time being, if you're seeing unacceptable performance, I suggest using the @AssistedInject annotation on your implementation classes versus the @Inject annotation. There is a solution on the table to adjust the code, which will happen within the next month or so one way or the other.
I am interested in your benchmark. Could you please describe how you ran it? thanks -Fred On Wed, Mar 17, 2010 at 8:02 PM, cpea <[email protected]> wrote: > Sorry, I meant 7 seconds (not ms) for the auto generated factory, and > 0.2 seconds for the hand-coded one. > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
