I normally aim for 40-45 mins before departure ... if you end up a little late and it's only 30 mins or even just under it's still plenty of time
Any more than that is too much , especially at busy times when the departure lounge can be very busy and it's hard to get a seat etc.