[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

6560: [MUD-Dev] Re: OT: Java multithreading performance

[Full Header] [Plain Text]
From: "Chris Gray" <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Sun, 17 May 98 10:23:57 MST
Organization: Kanga.Nu
[Vadim Tkachenko:]

:Keep static vector of startup delays;
:Calculate the average delay and print it (for every successful start);
:while ( isEnabled() ) Thread.sleep( 1000 );

Any kind of printing is likely to be comparatively very expensive. Good
would be going to dev/null, best would be no I/O at all.

:Thread performance should be estimated in a different way, full report
:on Monday.

OK, cool.

--
Chris Gray   cg@ami-cg.GraySage.Edmonton.AB.CA


--
MUD-Dev: Advancing an unrealised future.