Improve string benchtest timing