Is there an easy way to debug / analyze startup ti...
# kodein
r
Is there an easy way to debug / analyze startup time i.e. a simple way to see the time taken to instantiate the various pieces of the dependency graph?
r
Nope, there is no such thing at the moment.
but the unit should be in
ms
here depending on your graph
r
Thanks. It was taking about 5s to obtain a dependency from
DI.direct
and I was trying to figure out why. By attaching a profiler, I was able to find that certain deps were taking a long time to create themselves, but a mechanism to have Kodein report these times could have been useful.