Performance improvement

Improve a lot the performances by only printing to the console over so
often.