parallel-streams: JMH benchmarks and demos for when parallel streams are slower

N x Q model, source splittability, boxing, ordered operations, common-pool
starvation, and parallel-stream correctness bugs. Captured output in output/.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6hCTuFrQT8xKmmMrF
This commit is contained in:
Claude
2026-11-17 23:23:21 +05:30
parent f8c9e244a3
commit 4511cc6e6b
22 changed files with 1714 additions and 0 deletions
@@ -0,0 +1,4 @@
availableProcessors = 2 (default commonPool parallelism = 1)
openjdk version "25.0.5" 2026-10-20 LTS
OpenJDK Runtime Environment Temurin-25.0.5+8 (build 25.0.5+8-LTS)
OpenJDK 64-Bit Server VM Temurin-25.0.5+8 (build 25.0.5+8-LTS, mixed mode, sharing)