https://kotlinlang.org logo
#koin
Title
# koin
j

jmfayard

06/20/2022, 2:15 PM
Hello world When I run a unit test that does nothing apart from starting and stopping Koin, it takes about 2s to complete. (If there are multiple classes, I pay the penalty only once). I have 12 modules of 5-10 classes each. Are those 2s normal? What can I do to investigate the performance?
j

Jakub Gwóźdź

06/20/2022, 2:48 PM
normal without koin (maybe not 2s, byt at least 1s) might not be related to koin, but any other component. logging subsystem, mocking library, unit framework itself, whatnot
a

arnaud.giuliani

06/27/2022, 7:09 AM
yep, more about initiating all for test side can take time
2 Views