[MUD-Dev] Re: OT: Java multithreading performance
Chris Gray
cg at ami-cg.GraySage.Edmonton.AB.CA
Sun May 17 10:23:57 CEST 1998
[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 at ami-cg.GraySage.Edmonton.AB.CA
--
MUD-Dev: Advancing an unrealised future.
More information about the mud-dev-archive
mailing list