How long does it take to conduct UX Research? [duplicate]

This question already has an answer here:

If I'm preparing a project, what amount of time is reasonable to reserve for research? in terms of hours/days?

Yes, it varies, but what are some examples/situations that you can think of where user experience took a short time? or a particular case where research/tests took a long time?