harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Loenko <mloe...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-31) Move peformance timing of unit tests into a decorator class.
Date Thu, 19 Jan 2006 15:56:00 GMT
On 1/19/06, Geir Magnusson Jr <geir@pobox.com> wrote:
> Mikhail Loenko wrote:
> > The problem is unstable execution time of java programs:
> >
> > If you consequently run the same java program on the same computer
> > in the same conditions, execution time may vary by 20% or even more
> Why?  Given that computers are pretty determinstic, I'd argue that you
> don't have the same conditions from run to run.

Did you make experiments or it's your theoretical conclusion :) ?
Try to create an application that runs 20 seconds and run it several times.

Frankly, I do not exactly know why. But I know a lot of reasons that could
affect this dispersion. For example, there is a number of serving
threads and GC that impact on execution time.


> geir

View raw message