[issue4194] Miserable subprocess.Popen performance

Winfried Plappert report at bugs.python.org
Sat Oct 25 10:38:41 CEST 2008


Winfried Plappert <Winfried.Plappert at gmx.de> added the comment:

Hi is the dramatic difference on Solaris-10 / Python2.6:

I dtraced the popentest.py and counted syscalls: 

with os_popen:     read =    243
with process:Popen read = 589018

That explains a lot! 

The rest of the system calls are similir in count and appearance.
I have not looked into the C-source (yet).

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4194>
_______________________________________


More information about the Python-bugs-list mailing list