added benchmark for format message.