This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients LambertDW, bgh, georg.brandl, giampaolo.rodola, sameerd, skip.montanaro, vstinner, wplappert
Date 2008-11-24.01:30:33
SpamBayes Score 2.4013112e-05
Marked as misclassified No
Message-id <1227490234.24.0.850149076459.issue4194@psf.upfronthosting.co.za>
In-reply-to
Content
Summary of unchanged Python (2.4 .. 2.7):
 * Mac: subprocess is 25 .. 50 times SLOWER than os.popen
 * Solaris : subprocess is 13 times SLOWER than os.popen
 * Windows XP : subprocess is 1.5 times FASTER than os.popen
 * Linux : (results are very close)

With a different buffer size:
 * Solaris : Popen(bufsize=-1) is FASTER than os.popen()
 * Mac : Popen(bufsize=1) and Popen(bufsize=8192) are a little bit 
slower than os.popen(), but much FASTER than Popen(bufsize=0)

Notes:
 - PyFile_SetBufSize(bufsize) does nothing if bufsize < 0: keep system 
default (buffer of BUFSIZE bytes)
 - On Ubuntu Gutsy, system default (BUFSIZ) is 8192 bytes
History
Date User Action Args
2008-11-24 01:30:34vstinnersetrecipients: + vstinner, skip.montanaro, georg.brandl, giampaolo.rodola, LambertDW, wplappert, sameerd, bgh
2008-11-24 01:30:34vstinnersetmessageid: <1227490234.24.0.850149076459.issue4194@psf.upfronthosting.co.za>
2008-11-24 01:30:33vstinnerlinkissue4194 messages
2008-11-24 01:30:33vstinnercreate