Amazon (AMZN +15.32%) has richly rewarded investors over the years. However, its more recent performance has left something to be desired. The shares gained 2.5% over the last three months through July 31. Large-cap stocks, as measured by the S&P 500 index, gained 3.9%. Amazon also trailed growth stocks, with the S&P 500 Growth index…