-
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.fromcould improve async/pipeline performance. - Check why
Observable.blockingLasthas 30% more overhead than itsFlowablecounterpart. - Check why there is a lot more overhead with
ReplayProcessorandReplaySubjectcompared to v1. - Check why there is a lot more overhead with
UnicastProcessorandUnicastSubjectcompared to v1. - Check why
Observable.fromArrayis somewhat slower with longer sources thanFlowable. - Check why
Observable.fromIterableis slower with longer sources thanFlowable. - Optimize
Observable.concatMapfor scalar inner sources. - Check why
Flowable.flatMapIterableis drastically slower thanObservableand Reactor's version in just/range/crossmap scenarios.
davidmoten, Crystark, AllanHasegawa, artem-zinnatullin, filipwiech and 11 morerjccalla