A simple benchmark of the Java 8 Streams API.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
build.gradle
gradlew
gradlew.bat
readme.md
settings.gradle

readme.md

'No more loops' - Java 8 Streams benchmark

This is a benchmark comparing the effectiveness of Java 8 Streams and traditional, imperative loop-based code. The original article from where the code was taken can be found here, and the blog discussing the benchmark is here.

Running the benchmark

Execute in a terminal:

./gradlew jmh

in the root directory of the project. The results will be in build/reports/jmh.