If you go in the morning, go first thing else there's a 45 minute wait. If you're going in the afternoon, get there at least an hour before close, there may be no line or a small one.
The wait really isn't horrible. First line up is to check that you have all the paperwork and then you sit and wait for your number. Don't leave it until the end of the day.