Question - is the fit the same on these bikes? Have you checked?
Many years ago, I made a huge improvement in sustained climbing power simply by going to a lot longer stem that allowed my torso to expand. Improved breathing, reduced anaerobic pain and made hard hills a joy. COmpare your two bikes. You may have stumbled on "your" fit.