cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject Re: Profiling Pipeline [was Re: [RT] Unit testing and CocoonUnit]
Date Mon, 03 Nov 2003 17:36:45 GMT
Berin Loritsch wrote:
> I have a feeling the timings are useless largely because of the granularity
> of the System.getTimeInMillis() method.  On Windows the granularity is 
> 10 ms.
> If the timing is less than that it registers as 0.  Add enough zeros and it
> will always be less than the total time for the timing.

There is a way of getting around this by using JNI and calling the 
correct stuff. If you Google round you will sure find something. 
Probably there is something at

Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

View raw message