Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b3dRuKRhrHFPzWSSxr
15 lines
680 B
Plaintext
15 lines
680 B
Plaintext
availableProcessors = 2
|
|
common pool parallelism = 1
|
|
|
|
== Blocking work: 300 tasks, each sleeping 50 ms (a stand-in for a remote call)
|
|
default async pool (no executor argument) 15095 ms
|
|
fixed pool, 50 threads 309 ms
|
|
fixed pool, 200 threads 117 ms
|
|
virtual thread per task 62 ms
|
|
|
|
== CPU-bound work: 16 tasks, each 2,000,000 rounds of SHA-256
|
|
sequential, one thread (baseline) 2237 ms
|
|
default async pool (no executor argument) 2159 ms
|
|
fixed pool, 2 threads (= cores) 1185 ms
|
|
virtual thread per task 1116 ms
|