[issue11314] Subprocess suffers 40% process creation overhead penalty
STINNER Victor
report at bugs.python.org
Wed Mar 2 14:00:48 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> os.popen is 41% is slower than subprocess: I suppose that it
> is the usage of stdout=PIPE (creation of the pipe) which make
> it slower
Oh no, it's because os.popen() calls subprocess.Popen() with shell=True: the overhead is the shell. Nothing wrong here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11314>
_______________________________________
More information about the Python-bugs-list
mailing list