Added performance analysis.