In general the shorter the race, the longer/harder the warm up.

For a 15 mile TT, you'd probably find most bike racers doing a 1-1.5 hour warm up. Now not all of this is hard, but you do want to throw in a few hard efforts into that mix - hard enough to make your legs burn and get your heart rate nice and high.