Sam
10/19/2021, 3:56 AMKoin
Ref: https://proandroiddev.com/how-dagger-hilt-and-koin-differ-under-the-hood-c3be1a2959d7
Im curious, How can I calculate the performance of Koin in Runtime like this articles?
Thanks.eurycea
10/21/2021, 6:19 PMarnaud.giuliani
10/25/2021, 7:59 AMSam
10/25/2021, 8:19 AMarnaud.giuliani
10/25/2021, 8:20 AMarnaud.giuliani
10/25/2021, 8:21 AMSam
10/25/2021, 8:59 AM<https://github.com/Sloy/android-dependency-injection-performance>
over 0,01 ms. Maybe it is not implement correct way.
Some people argue that Koin is not good for startup time , so I would like to check this information.
Do you have any best practices link or repository to test the performance in runtime?arnaud.giuliani
10/25/2021, 10:04 AMover 0,01 ms. Maybe it is not implement correct way.this is the hashmap resolution. There is also a bit around stuff to check before. A resolved instance is around clearly less 0.05 < 0.1 ms. But it scales. requesting in hashmap is effective
arnaud.giuliani
10/25/2021, 10:05 AMarnaud.giuliani
10/25/2021, 10:05 AMarnaud.giuliani
10/25/2021, 10:07 AMSam
10/25/2021, 10:24 AMarnaud.giuliani
10/25/2021, 12:27 PMarnaud.giuliani
10/25/2021, 3:34 PMHow do I calculate the timing of these cases such as startup time, factory, singleton/ inject etc?you can activate logger debug, and track times.
androidLogger(DEBUG)
in your startKoin
blockSam
10/26/2021, 3:01 AMMani
10/07/2022, 12:52 PMarnaud.giuliani
10/07/2022, 1:00 PMarnaud.giuliani
10/07/2022, 1:01 PM