Reduce the scope of locking to increase parallelism.#1043
Conversation
|
RxJava-pull-requests #961 FAILURE |
|
I saw this failure without my change, and I believe it's unrelated. On Wed, Apr 16, 2014 at 5:14 PM, CloudBees pull request builder plugin <
|
|
Review by @benjchristensen and @akarnokd. |
|
I'll take a look ... sounds like a good change. We have started doing perf testing using JMH. You can take a look at examples here: https://github.com/Netflix/RxJava/tree/master/rxjava-core/src/perf/java/rx/operators It would be useful to add one for this operator to measure before/after performance. |
|
The change looks okay but not certain about the performance gains. Two other things:
|
|
This change doesn't work. It allows onCompleted before all onNext have been triggered. |
In my rxmon project https://github.com/vigdorchik/rxmon I make heavy use of combineLatest. This change that reduces the scope of locking should help increase combineLatest throughput. I wish I could report the speedup numbers, but I couldn't find how to publish RxJava to maven locally to try it out.