Skip to content

2.x: perf comparison of Observable, NbpObservable and Single#3355

Closed
akarnokd wants to merge 1 commit into
ReactiveX:2.xfrom
akarnokd:EachTypeFlatMapPerf2x
Closed

2.x: perf comparison of Observable, NbpObservable and Single#3355
akarnokd wants to merge 1 commit into
ReactiveX:2.xfrom
akarnokd:EachTypeFlatMapPerf2x

Conversation

@akarnokd

Copy link
Copy Markdown
Member

I've accidentally pushed this into 2.x (no rules violated though) but I'd like to show the run results on my machine (i7 4790, Windows 7 x64, Java 1.8u60)

image

The backpressure-overhead on range is quite apparent. Naturally, scalar can't do range so I only compared it agains the just of the others. Single has no equivalent operators for the other cases right now.

There is still room for improvement for the range-flatMap-just in NbpObservable and Single.

Again, the lower overhead of NbpObservable shows through in RangeMapRange where there is no fast-path at all and everybody has to subscribe to the inner range.

@akarnokd akarnokd added this to the 2.0 milestone Sep 18, 2015
@akarnokd akarnokd closed this Sep 18, 2015
@akarnokd akarnokd deleted the EachTypeFlatMapPerf2x branch May 18, 2016 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant