Message129633
> 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. |
|
Date |
User |
Action |
Args |
2011-02-27 15:05:23 | neologix | set | recipients:
+ neologix, gregory.p.smith, pitrou, vstinner, giampaolo.rodola, Aaron.Sherman |
2011-02-27 15:05:22 | neologix | link | issue11314 messages |
2011-02-27 15:05:22 | neologix | create | |
|