x64 speed

Floris Bruynooghe floris.bruynooghe at gmail.com
Wed Feb 4 10:08:32 EST 2009


On Feb 4, 10:14 am, Robin Becker <ro... at reportlab.com> wrote:
> > [rptlab at localhost tests]$ time python25 runAll.py
> > .............................................................
>
> .........................
>
> > ----------------------------------------------------------------------
> > Ran 193 tests in 27.841s
>
> > OK
>
> > real    0m28.150s
> > user    0m26.606s
> > sys     0m0.917s
> > [rptlab at localhost tests]$
>
> magical how the total python time is less than the real time.

Not really.  Python was still running at the time that it prints the
time of the tests.  So it's only natural that the wall time Python
prints on just the tests is going to be smaller then the wall time
time prints for the entire python process.  Same for when it starts,
some stuff is done in Python before it starts its timer.

Regards
Floris




More information about the Python-list mailing list