[logback-dev] benchmarking extension to junit?

Ceki Gulcu listid at qos.ch
Mon Aug 4 15:58:32 CEST 2008


Hello all,

Logback contains a small number of time-sensitive tests. The time needed to 
execute these tests depend on the capabilities of the host CPU. For example, if 
on my machine a test executes in 1 millisecond, I would expect it to
finish in say 1*10 milliseconds on most machine -- allowing for 10 fold variation.

Does anyone know of a junit extension which can help me normalize the
coefficient, 10 in the previous example, so that it adapts to the
speed of the host CPU? There is also the problem of the JIT
compiler...

Any recommendations on the subject?

-- 
Ceki Gülcü


More information about the logback-dev mailing list