Too Long; Didn't Read
This is a tutorial on how to use profiling to improve your Ruby coding skills. Benchmarking lets you compare two or more alternative solutions in three main areas: Elapsed time, memory allocation and iterations per second. Profiling is a method, that helps you identify potential problems and bottlenecks. The result you'll get will give you enough information to choose one solution over the other. The next question is: Could this solution be improved? Profiling tells you about the steps and the time a specific solution spends in each one of them while solving the problem.