A tale of two ports: the cost of inefficiency