Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

This project contains de source code of the bench I have presented at JavaOne 2015 and Devoxx 2015 (minus the GC Collections part). It compares the performances of the implementations of the "Shakespeare plays Scrabble" kata using the GC Collections, RxJava and Java 8 Stream API frameworks.

This bench has no other purpose than to show different performances on the chosen problem, please, do not take it as a general bench, and do not draw conclusions that could be wrong on other use cases.

It is built on JMH, the standard tool used to measure performances in Java.

You need Maven to build and run this bench.

$ mvn clean install

This creates a benchmark.jar file in your target directory. This jar contains what needs to be run to run the benchmark.

$ java -jar target/benchmark.jar

This runs the benchmark and prints out the result on the console. Of course, the execution of this benchmark has very little chance to produce the same result as the one I showed in my talks.

This bench uses two data files: ospd.txt and words.shakespeare.txt. They can be freely downloaded from Robert Sedgwick page here: By the way, there are other very interesting data sets on this page.

Those two data sets files are under the copyright of their authors, and provided for convenience only.


No description, website, or topics provided.






No releases published


No packages published