Performance improvement: replaced StringBuffer with StringBuilder
Report class to measure method performance