What is effect of SYSO (System.out.println())?
问题 What is the effect of SYSO - System.out.println() ? If my computer is executing a large job such as fetching 2 Lakhs (approximately 2,000,000) records from a database to a file, does SYSO affect the execution time? 回答1: Of course it affects it. Every operation comes with a cost. Writing to system out is IO, and comes with a non-negligible cost. To know the exact effect on your program, there's no other solution than benchmarking: run the program with and without the println calls, and measure