2

I'm trying to compare performance of using LocalBroadcastManager and Otto in Android. As I know, Otto is using annotation and Java reflection, so it may have some impacts on performance. Can someone suggest me something to do to measure performance of these two ways? Which drain the battery?

Anggrayudi H
  • 14,977
  • 11
  • 54
  • 87
congtrungvnit
  • 635
  • 1
  • 10
  • 16

1 Answers1

2

This is already discussed here and you can find a performance comparison between Otto and EventBus (another alternative) here

My guess it Otto and EventBus are probably as fast or faster than LBM :)

Community
  • 1
  • 1
Espen Riskedal
  • 1,425
  • 15
  • 28