Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
12.48k
stars
1.67k
forks
source link
InjectorImpl.getInstance() cost several seconds #1826
Closed
JiZhihan closed 3 months ago
I get some instances cost several seconds with this method.
com.google.inject.internal.InjectorImpl#getInstance(java.lang.Class<T>)
I trace it and found it cost in this method
com.google.inject.internal.ContextualCallable:call()
how can i reduce the cost