texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Re: Improved facilities for benchmarking


From: David MENTRE
Subject: Re: [Texmacs-dev] Re: Improved facilities for benchmarking
Date: Fri, 28 May 2004 22:54:56 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Hello Joris,

Joris van der Hoeven <address@hidden> writes:

> Timing ] Task 'typeset' took 10626 ms
> Timing ] Task 'decode pk' took 513 ms (67 invocations)
> Timing ] Task 'decode tfm' took 2 ms (66 invocations)
> Timing ] Task 'find font' took 9176 ms (72 invocations)
> Timing ] Task 'kpsewhich' took 5365 ms (139 invocations)
> Timing ] Task 'load file' took 204 ms (432 invocations)
> Timing ] Task 'load tex font' took 8904 ms (67 invocations)
> Timing ] Task 'read directory' took 7 ms (201 invocations)
> Timing ] Task 'stat' took 75 ms (2657 invocations)

I've seen you are using the gettimeofday(2) function as a basis for your
benchmark timers (in System/Classes/timer.cpp). I would not use it
because your timing are based on wall clock time and are thus influenced
by other programs running on your machine.

You'd rather use times(2) or clock(3) which are based on OS made time
accounting, like for the /usr/bin/time program.

Yours,
d.
-- 
 David Mentré <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]