The emergence time was longer in patients given 0.05 mg/kg of midazolam ( 17.1 3.4 min , mean SD ) compared with that in patients given 0.03 mg/kg of midazolam ( 14.1 3.6 min ; P = 0.0009 ) or saline ( 12.8 4.1 min ; P = 0.0003 ) .