On the topic of System.out.println
Erik
pointed to the Log4J write-up titled Don't Use
System.out.println the other day and yesterday it was the hot
story on Javablogs (I kid you not). This does not really have anything to
do with Log4J, but here is what the Webpshere best
practices paper that I mentioned earlier says about using System.out.println
in a web application:
Minimize use of System.out.println. Because it seems harmless, this commonly used application development legacy is overlooked for the performance problem it really is. Because System.out.println statements and similar constructs synchronize processing for the duration of disk I/O, they can significantly slow throughput.I did not know that.
Dave Johnson
in Java
• 🕒 05:53AM Dec 11, 2002
Tags:
Java