These two cuisines are very different. They may rely on and use some of the same ingredients, but the flavors are not even close. Each of these cuisines may also have dishes with the same name such as ceviche and tamales, but they aren't made with the same ingredients or with the same techniques. Each cuisines is spicy, but uses different chilies with totally different flavor profiles in their recipes. Peruvian food uses aji amarillos, rocoto peppers, aji panca and others in recipes while Mexican food is made with poblanos, jalapenos, ancho chile and more.