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