In this article, we analyze how (projective and injective) complexity, curvature, and complete intersection dimension behave under linkage of modules and ideals. Let R be a Gorenstein local ring. Consider a Gorenstein perfect ideal a (e.g., a is generated by an R-regular sequence). Let M and N be two Cohen-Macaulay R-modules linked by a. We prove that cxR(M)=injcxR(N) and curvR(M)=injcurvR(N). In particular, when R is complete intersection, cxR(M)=cxR(N) and curvR(M)=curvR(N). Furthermore, we show that pdR(M)=pdR(N) and CI-dimR(M)=CI-dimR(N). If any of these dimensions is finite, it is equal to ht(a). Similar results are obtained for linkage of ideals. All these results highly extend a classical result of Peskine and Szpiro in many directions. We construct several examples that complement our results. These also show how properties like `integrally closed', `m-full' and `Burch' behave under linkage of ideals.