You must be sure to get rid of all print applications before production. This is an I / O operation that definitely affects performance, the main thread will wait until printing (the I / O operation is complete). You might want to convert some debug level printing to a log.
Here is another thread that talks about it.
source
share