Skip to content

1.x: perf benchmark for the cost of subscribing #3478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2015

Conversation

akarnokd
Copy link
Member

This PR adds a perf test that measures what it takes to subscribe to a
non-backpressured and backpressured source and what is the effect of the
mini-arbitration inside Subscriber.

This should enable investigations into why generally 1.x subscriptions have more overhead than 2.x.

Benchmark (i7 4770K, Windows 7 x64, Java 8u66):

image

Direct overrides setProducer and requests directly. Started requests in the onStart method and Usual requests in the constructor.

@akarnokd akarnokd added this to the 1.0.x milestone Oct 28, 2015
akarnokd added a commit that referenced this pull request Oct 28, 2015
1.x: perf benchmark for the cost of subscribing
@akarnokd akarnokd merged commit 5576628 into ReactiveX:1.x Oct 28, 2015
@akarnokd akarnokd deleted the SubscribingPerf1x branch October 28, 2015 21:57
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