Author neologix
Recipients Aaron.Sherman, giampaolo.rodola, gregory.p.smith, neologix, pitrou, vstinner
Date 2011-02-27.15:05:22
SpamBayes Score 8.24878e-06
Marked as misclassified No
Message-id <AANLkTi=k6ZQ=zk2vTZQNF5sp=dsLLHrTQK6dbq3UOphQ@mail.gmail.com>
In-reply-to <1298674229.69.0.698157336902.issue11314@psf.upfronthosting.co.za>
Content
> Aaron Sherman <ajs@ajs.com> added the comment:
>
> "That's why I asked for absolute numbers for the overhead difference."
>
> Did you not follow the link in my first post? I got pretty detailed, there.
>

By the way, strace has a '-T' flag that can be used to measure the
time spent in syscalls (but for a mmap/mremap/munmap it won't be
significant).

> However, I do think that doing the performance testing before deprecating
> the previous interface would have been a good idea...
>

Once again: subprocess.Popen is actually faster than os.pipe to create
a subprocess. Just don't pass shell=True. Unless you're spawning shell
scripts, but in that case subprocess' overhead is definitely not
biggest problem.
History
Date User Action Args
2011-02-27 15:05:23neologixsetrecipients: + neologix, gregory.p.smith, pitrou, vstinner, giampaolo.rodola, Aaron.Sherman
2011-02-27 15:05:22neologixlinkissue11314 messages
2011-02-27 15:05:22neologixcreate