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

Add Helidon-Reactive Scrabble benchmark #1482

Merged
merged 2 commits into from
Mar 10, 2020
Merged

Conversation

akarnokd
Copy link
Collaborator

@akarnokd akarnokd commented Mar 10, 2020

Add the industry standard Shakespeare plays Scrabble benchmark to measure Helidon-Reactive.

Results (i7 8700, Windows 10 x64, Java 11.0.6):

ShakespearePlaysScrabbleWithHelidonReactiveOpt   sample  165  30,909 ± 0,136  ms/op
ShakespearePlaysScrabbleWithRxJava2FlowableOpt   sample  225  22,427 ± 0,049  ms/op
ShakespearePlaysScrabbleWithRxJava3FlowableOpt   sample  227  22,206 ± 0,259  ms/op
ShakespearePlaysScrabbleWithRxJava3ObservableOpt sample  235  21,365 ± 0,039  ms/op

Edit: Remeasured RxJavas with JMH 1.23.

What could be improved in Helidon:

  • Adding Single.flatMapIterable
  • Create dedicated Multi.max and Multi.sum implementations.
  • Create dedicated implementation for chars().
  • More optimized Single.get().

@danielkec danielkec self-assigned this Mar 10, 2020
@danielkec danielkec added the reactive Reactive streams and related components label Mar 10, 2020
@danielkec danielkec added this to the 2.0.0 milestone Mar 10, 2020
@danielkec danielkec merged commit 36ab8d4 into helidon-io:master Mar 10, 2020
@akarnokd akarnokd deleted the Scrabble branch March 25, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reactive Reactive streams and related components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants