MUD-Dev
mailing list archive

Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

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



[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.



Other Periods  | Other mailing lists  | Search  ]