How are stock price and earnings per share related? If you were an investor, how would you analyze the performance of a publicly traded company?

 How are stock price and earnings per share related? If you were an investor, how would you analyze the performance of a publicly traded company?