Microthreads

Brad Clements bkc at Murkworks.com
Mon May 19 18:55:59 EDT 2003


"Chris Liechti" <cliechti at gmx.net> wrote in message
news:Xns9380E84BB2FDBcliechtigmxnet at 62.2.16.82...
> "Brad Clements" <bkc at Murkworks.com> wrote in
> news:mailman.1053357869.16830.python-list at python.org:
>
> > "Chris Liechti" <cliechti at gmx.net> wrote in message
> > news:Xns937F814878E7cliechtigmxnet at 62.2.16.82...
> >> yes ;-)
> >>
> >> 1.7s on my P4 2.5GHz
> >
> >
> > 0.9s on my Centrino (1.6GHZ PentiumM) with Python 2.3b1, command-line)
> >
> > My new Dell D800 laptop. I'm amazed at just how fast this thing runs
> > Python.
> >
> > I think it's fast because it has a huge cache
>
> its mainly because you use 2.3 and i did the test with 2.2
> look at the numbers that Tim posted. 2.3 is almost 2x faster for this
> specific script
>

Perhaps, but with 2.3 on an 2.2GHZ Dual XEON box (yes, I know Python is only
using one processor)

[bkc at strader Vendors]$ python2.3 ~/temp/threadtest.py
total time: 1.4
[bkc at strader Vendors]$ python2.3 ~/temp/threadtest.py
total time: 1.46
[bkc at strader Vendors]$ python2.3 ~/temp/threadtest.py
total time: 1.41












More information about the Python-list mailing list