Depending on how big the airport is and where your gate is from your ticket check-in, it takes anywhere from 30 minutes to an hour or a bit longer to get to your flight.
The timing to get to your flight also depends on which day it is and what time of the day you are leaving.
Security is not a problem as long as you have no fluids over 4 ounces, no weapons and your shoes are off and in the x-ray box, and small/large jackets must also be taken off and put into a box to go through the x-ray machine.
The security scan time can take from 10 minutes up to 1 hour with a large line and slow security, usually at the larger airports.
Security is really not a big issue, and you learn by watching and paying attention the first time you go through.
My wife and I can have all of our things in three boxes within a minute, because we've traveled a few times and been through the process.
The faster you get your things in the box, and carry-ons on the rollers, the faster you will get through the security part.
If you are a smoker and it's your first time; my wife and I learned we could take turns watching the carry-on luggage while the other runs out for one last smoke before a long journey. Nicotine gum works well too.
After you've been through the airport security a few times for that last smoke, you will have the security part down to a science.
I know I'm going on about airport security, but that's usually the hardest part at most airports now-a-days.
You will learn the different techniques used by each airport as you go, and flying become less stressful when you know what to do.