The Systemic Performance of Local and Global Diversity in Networks