Didn't there used to be signs around T5 stating you should be at your boarding gate 20 minutes prior to departure? It's been a while since I've seen them, but I could just be oblivious to them these days. In any case, I stick by that recommendation and aim to be at the gate 20-25 minutes before departure.