Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 596 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 596 Bytes

'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.