log string performance