I alway show up at least two hours before my flight. Once I check-in, I go to the bar and read my Kindle over a couple of frosty tall ones. Haven’t missed a flight yet. Just make sure you hit the restroom before boarding.
The only time I have ever missed a flight was when it was a connecting flight. Oh and there was the time I got caught in a riot in La Paz. But that does not count.