Two hours before. Security takes some time.
To be on the safe side, try to be there two hours prior to your flight. Going through TSA can vary depending the hour of day, but it's better to be there with plenty of time than to lose your flight.
Although generally depends on departure, seasonal local demands and unexpected factors, about my flight yesterday, I got there 4:46 am and free after TSA check from around 5:10am already. I passed TSA within 10 min. Before and after TSA I took many pictures of objects and arts (as a typical Traveller lol). Waiting for the 6:02 flight affordably. Maybe I could wait in a long line for Starbucks (maybe only 1 there) if I wanted. Hope it would help a little for your plan.
Thanks! Your answer is awaiting moderation.