The efficiency of protein compartmentalization into the secretory pathway.