How similar are the components in an Apple iPhone 4s compared to the 5 model?

The components of Apple Iphone 4s and Apple Iphone 5 model are very different. The difference is in speed of the components, and obviously the size of components. Also, Iphone 5 has better components than Iphone 4s.