No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

android-eventbus-perf

Description

A utility app demonstrating the difference in usage and performance between Android's LocalBroadcastManager and GreenRobot's EventBus.

See the accompanying blog post.

NOTE: This app explores only the performance of the EventBus in relation to local broadcasts, when sending multiple events/broadcasts in succession (i.e. in a for-loop). For single events/broadcasts send only sporadically, performance of the event/broadcast delivery itself is a non-issue. Furthermore, you can usually rearrange your event delivery to happen in bigger batches if performance, CPU and battery usage is an issue (which is basically always :) Therefore, you should not base your decision whether to use the EventBus library on this example code alone.