Improve console performance when sending long strings