Python socket performance testing

Thomas Ackermann tgm at
Mon Jun 28 10:48:09 CEST 1999

Bruce Fletcher <befletch at> wrote:
> Something else interesting; time.clock() doesn't seem to work on Linux
> (RedHat 6.0) in either 1.5.1 or 1.5.2.  The time is always < 1, and it
> doesn't change.

>>> print time.clock.__doc__
clock() -> floating point number

Return the CPU time or real time since the start of the process or since
the first call to clock().  This has as much precision as the system records.

  Thomas Ackermann | Tel. +49-(0)228/631369|73-7773 | <tgm at>
             finger tgm at for public key
               GNU LINUX Python gtk pygtk MySQL FUDGE GURPS

More information about the Python-list mailing list