Where your sitting on the plane dictates how long it takes to get through immigration/customs at PPT. If your in business class or premium economy it goes quickly, usually out within 30 minutes. If your in the back of the plane it could take an 45 - 60 minutes.
On the return if you have Global Entry we get through quickly, usually get to baggage before the our bags do. If you don't have Global figure 30 - 45 minutes before you get your bags. There is a bag drop off after you've cleared customs ... there is now passage through to the other terminals without going through security again. Maybe I should do a video on this ...