Heikki Suopanki wrote:
>
> Java application takes 10-20% of CPU time even with lot of 'sleep()'.
> On Solaris it takes less than 0.1%.
> Is that normal?
>
> Even a minimal application which only sleeps and sleeps and
> prints a message to stdout takes 1-2% of CPU time.
>
> Redhat 5.1, jdk1.1.6
> Machine is a dual 233Mhz.
>
> -Heikki
I'm currently working on a Sun Sparcstation 20. And I generally get a 5%
CPU time from my Java Applications and Applets. After all, it's an
interpreter. Especially during the creating of a LayoutManager, with
lots of components (say for example, a long spreadsheet/or list of
labels), it takes forever to get the screen to "calm down".
--
Maarten van Leunen
Student - Fontys Institute of Technology Eindhoven
e-mail: [EMAIL PROTECTED]
http://www.il.fontys.nl/~maartenl
http://lok.il.fontys.nl/