android-dependency-injection-performance icon indicating copy to clipboard operation
android-dependency-injection-performance copied to clipboard

Consider using JMH / androidx.benchmark

Open AlexTrotsenko opened this issue 4 years ago • 1 comments

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.

AlexTrotsenko avatar Dec 03 '20 12:12 AlexTrotsenko

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.

Sloy avatar Jan 08 '21 10:01 Sloy