Added performance timing