Added benchmark for printMessage.