Benchmarking is hard!
This is a great example, let's dive into the diff to highlight what I'd typically surface if someone shared this benchmark at Square.
The diff: https://github.com/android/nowinandroid/compare/main...InsertKoinIO:nowinandroid:perfs_hilt
(it's great that Arnaud shared the diff btw, too often benchmark authors don't)
#AndroidDev
This is a great example, let's dive into the diff to highlight what I'd typically surface if someone shared this benchmark at Square.
The diff: https://github.com/android/nowinandroid/compare/main...InsertKoinIO:nowinandroid:perfs_hilt
(it's great that Arnaud shared the diff btw, too often benchmark authors don't)
#AndroidDev
Reposted from
Arnaud Giuliani
I am trying the delicate experiment to benchmark #Koin #Kotlin framework with the Now in Android app, having real-world usage measurements: proandroiddev.com/benchmarking...
Sorry for flaming the internet again 😅 Feedback is welcome to help make this experiment process better 🙏
Sorry for flaming the internet again 😅 Feedback is welcome to help make this experiment process better 🙏
Comments
- speed compiling the app
- locking CPU clocks
- checking thermals
- checking battery level
Are you aware of any good "this is how you get started with macro/micro benchmarking" tutorials/codelabs etc? It's a topic I've never actually looked into at all. Mostly because I feel like even if I do, I'll not make trustworthy conclusions anyway.