Which has a shorter duration of action during a continuous infusion and in a single dose(s)... Fentanyl or Morphine?

why?