The Performance-Model of Streams in Java 8

The Performance-Model of Streams in Java 8

Parallel stream operations are supposed to run faster than sequential operations in Java applications. Is this expectation justified? Or is is naive? This talk explores when and under which circumstances parallel execution pays.

In order to understand the performance model of streams we will discuss certain internals of streams, for instance iterators vs. spliterators as well as reduction vs. accumulation algorithms. The goal is to enable stream users to come up with an informed guess regarding the performance of parallel vs. sequential stream operations.

Video producer: http://geecon.org/