Skip to content
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

Benchmarking: Add JMH benchmark for ReplaySubject. #1030

Merged
merged 1 commit into from
Apr 11, 2014

Conversation

daschl
Copy link
Contributor

@daschl daschl commented Apr 11, 2014

Adds some benches for the replay subject.

I.E.

Benchmark                                     (nextRuns)   Mode   Samples         Mean   Mean error    Units
r.s.ReplaySubjectPerf.subscribeAfterEvents             1  thrpt         5  1898239.827    57634.047    ops/s
r.s.ReplaySubjectPerf.subscribeAfterEvents          1024  thrpt         5    35680.927      470.929    ops/s
r.s.ReplaySubjectPerf.subscribeAfterEvents       1048576  thrpt         5       32.427        1.462    ops/s
r.s.ReplaySubjectPerf.subscribeBeforeEvents            1  thrpt         5  1427820.733    19194.452    ops/s
r.s.ReplaySubjectPerf.subscribeBeforeEvents         1024  thrpt         5    36835.800      264.748    ops/s
r.s.ReplaySubjectPerf.subscribeBeforeEvents      1048576  thrpt         5       35.520        1.145    ops/s

@cloudbees-pull-request-builder

RxJava-pull-requests #948 FAILURE
Looks like there's a problem with this pull request

@benjchristensen
Copy link
Member

Nice, thank you!

benjchristensen added a commit that referenced this pull request Apr 11, 2014
Benchmarking: Add JMH benchmark for ReplaySubject.
@benjchristensen benjchristensen merged commit a9e7975 into ReactiveX:master Apr 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants