Improve console output performance

See https://gist.github.com/mattdbridges/5305111