The Performance Model of Streams in Java 8
Parallel stream operations are supposed to run faster than sequential
operations. Is this expection justified? Or is is naive?
In this session we will explore 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 and
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. |
PREREQUISITES
|
|
Level:
|
intermediate |
Duration:
|
60 min presentation |
Audience:
|
Java developers interested in the collection enhancements in Java 8,
their performance and concurrency issues. |
Presented at:
|
jDays 2015
,
Göteborg, Sweden, March 17-18, 2015
JAX 2015
, Mainz, Germany,
April 20-24, 2015
GeeCon 2015
, Kraków,
Poland, May 13-15, 2015
JAX London
, London,
UK, October 12-14, 2015 |
Related information:
|
|
Seminars
|
High-Performance
Java
4-day seminar (open enrollment
/ on-site)
|
|
Java 8
- Overview of Lambdas/Streams, New Concurrency Utilities, and Date/Time
4-day seminar (open enrollment
/ on-site)
|
|
Lambdas
& Streams
- Lambdas and Streams In Depth
3-day seminar (open enrollment
/ on-site)
|
|
Papers & Presentations
|
|