Summer in Chengdu

Hi all, my family and i are planning to visit Chengdu this coming (late)July (early) August. We were in Shanghai around the same time last year and though the heat was quite unbearable we managed to get through.

I was just wondering whether the level of heat and humidity in Chengdu will be the same as in Shanghai or better? Thanks in advance for answering :)