Question: how long does it take to go through international customs?
Answer: Customs, except for the US, is always a walk through the Green Door - Nothing to Declare. Immigration/Passport control can take from 15 minutes to 2 hours just depending on the number of flights being processed, number of officers on duty, etc. If you have Global Entry your return to the US will be very quick.