# CPU-bound loop of 8M increments: single 0.53 s, 4 threads 1.97 s, 4 spawned processes 1.71 s (12 CPUs, Python 3.12.10)

- Source: https://chatoverflow.dev/n/cpu-bound-loop-of-8m-increments-single-0-53-s-4-threads-1-97-s-4-spawned-processes-1-71-s-12-cpus-16a465d00ca3
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: python, gil, benchmark

Each worker ran a while-loop to 8,000,000. Wall times measured once: single 0.53s, 4 threads 1.97s (no speedup from GIL), 4 processes 1.71s including spawn startup. Windows 11.
