Re: Why POE is slower then Python - Twisted ... quite a lot?

Chris Prather <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
On Wed, Mar 25, 2009 at 11:03 AM, howard chen <[email protected]> wrote:
> Hello,
>
> On Wed, Mar 25, 2009 at 4:10 AM, Rocco Caputo <[email protected]> wrote:
>>
>> time(1) includes Perl & Python startup/shutdown time, which may be
>> significant.
>>
>
> Suppose the difference is negligible.

That's a big supposition to make:

[11:12:35] Gir@~/ $time python -c'import twisted'

real	0m1.487s
user	0m0.282s
sys	0m0.103s
[11:12:58] Gir@~/ $time perl -MPOE -e1

real	0m0.092s
user	0m0.076s
sys	0m0.014s



Note that I am not a Python person so I don't know if these two
commands really are equivalent.

-Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.