-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Labels
Milestone
Description
I assembled a fresh evaluation of RxJava 1, 2 and Reactor 3.2 performance under various usages and found the following deficiencies in RxJava 2.
-
Flowable.empty()
appears to be consuming a lot of memory. - See if a non-trampolining
Schedulers.from
could improve async/pipeline performance. - Check why
Observable.blockingLast
has 30% more overhead than itsFlowable
counterpart. - Check why there is a lot more overhead with
ReplayProcessor
andReplaySubject
compared to v1. - Check why there is a lot more overhead with
UnicastProcessor
andUnicastSubject
compared to v1. - Check why
Observable.fromArray
is somewhat slower with longer sources thanFlowable
. - Check why
Observable.fromIterable
is slower with longer sources thanFlowable
. - Optimize
Observable.concatMap
for scalar inner sources. - Check why
Flowable.flatMapIterable
is drastically slower thanObservable
and Reactor's version in just/range/crossmap scenarios.
davidmoten, Crystark, AllanHasegawa, artem-zinnatullin, filipwiech and 11 morerjccalla