If you want to compound wealth in the stock market, you can do so by buying an index fund. But in our experience, buying the right stocks can give your wealth a significant boost. For example, the CGI Inc. (TSE:GIB.A) share price is 46% higher than it was five years ago, which is more than the market average. Also positive is the 9.4% share price rise over the last year.

Now it's worth having a look at the company's fundamentals too, because that will help us determine if the long term shareholder return has matched the performance of the underlying business.

View our latest analysis for CGI

While the efficient markets hypothesis continues to be taught by some, it has been proven that markets are over-reactive dynamic systems, and investors are not always rational. One way to examine how market sentiment has changed over time is to look at the interaction between a company's share price and its earnings per share (EPS).

During five years of share price growth, CGI achieved compound earnings per share (EPS) growth of 11% per year. The EPS growth is more impressive than the yearly share price gain of 8% over the same period. So it seems the market isn't so enthusiastic about the stock these days.

You can see below how EPS has changed over time (discover the exact values by clicking on the image). earnings-per-share-growth

Before buying or selling a stock, we always recommend a close examination of historic growth trends, available here.

A Different Perspective

CGI shareholders are up 9.4% for the year. Unfortunately this falls short of the market return. On the bright side, that's still a gain, and it's actually better than the average return of 8% over half a decade This could indicate that the company is winning over new investors, as it pursues its strategy. Before spending more time on CGI it might be wise to click here to see if insiders have been buying or selling shares.

If you would prefer to check out another company -- one with potentially superior financials -- then do not miss this freelist of companies that have proven they can grow earnings.

Please note, the market returns quoted in this article reflect the market weighted average returns of stocks that currently trade on Canadian exchanges.

Have feedback on this article? Concerned about the content?Get in touch with us directly. Alternatively, email editorial-team (at) simplywallst.com.

This article by Simply Wall St is general in nature. We provide commentary based on historical data and analyst forecasts only using an unbiased methodology and our articles are not intended to be financial advice. It does not constitute a recommendation to buy or sell any stock, and does not take account of your objectives, or your financial situation. We aim to bring you long-term focused analysis driven by fundamental data. Note that our analysis may not factor in the latest price-sensitive company announcements or qualitative material. Simply Wall St has no position in any stocks mentioned.