The pulmonary function tests , arterial blood gases , incidence of perioperative morbidity , postoperative mechanical ventilation time , duration of ICU stay , length and costs of postoperative hospital stay were compared between the 2 groups .