This was in the US Airways days, but I once made a CUN-PHL-DCA connection in 20 minutes.
Carry-on only, of course, but I did not have GE at this point.
CUN-PHL was delayed so it was: door opens in A-West --> immigration ---> customs ---> TSA PreCheck --> B ---> last person on board PHL-DCA, door closing behind me.