Sloy / android-dependency-injection-performance

[NOT MAINTAINED] Measure the performance of several Dependency Injection frameworks in different devices
313 stars 45 forks source link

Consider using JMH / androidx.benchmark #11

Open AlexTrotsenko opened 3 years ago

AlexTrotsenko commented 3 years ago

Have you considered using JMH? Normally it's advised for testing performance of Jvm code. If you need instrumented Android test - androidx.benchmark is an option as well.

Sloy commented 3 years ago

Hi @AlexTrotsenko! I didn't even know about JMH, so thanks for sharing! I haven't work too much with JVM stuff.

Probably androidx.benchmark would be the right tool for this project, you're right! I believe this library came out later, so it wasn't available when I wrote the benchmark. But I'm not actively maintaining this project anymore, since it served its purpose already for me :P I should probably add some notice in the readme or something.