Posts tagged “performance”
-
Replacing
subprocess.Popen.wait()’s busy-loop with an event-driven model, in psutil then upstream CPython -
Trimming heavy imports and plugins: 0.42s → 0.30s (~28%)
-
5.3.0 adds
attrsandad_valueparameters toprocess_iter(), letting you pre-fetch attributes in one shot -
New
Process.oneshot(), caching shared syscalls and halving the cost of multi-field queries