Timers and timing, was: MySQL Performance 6.0rc1

ender ender at tog.net
Thu Oct 27 17:57:57 PDT 2005


David Xu wrote:

> Run it on IBM thinkpad T43:
>       null function: 0.00435
>            getpid(): 0.27038
>              time(): 4.67393
>      gettimeofday(): 4.66421
>
> gettimeofday is horribly slow.
> The system has Intel 915PM chipsets, Pentium 1.86Ghz,
> powerd daemon is turned off.
>
>
CPU: AMD Athlon(tm) MP 2800+ (2133.42-MHz 686-class CPU)
FreeBSD 6.0-RC1
SMP kernel,
#cpu            I486_CPU
#cpu            I586_CPU


       null function: 0.00471
            getpid(): 0.18755
              time(): 1.18135
      gettimeofday(): 1.17575



More information about the freebsd-current mailing list