Added performance analysis logging and basic reporting