Parallel Collections - Measuring Performance - Scala Documentation

The performance model on the JVM is sometimes convoluted in commentaries about it, and as a result is not well understood. For various reasons, some code may not be as performant or as scalable as expected. Here, we provide a few examples.

This is a companion discussion topic for the original entry at