If you work on a large app, publish, gems, or are interested in the Ruby community at some point you will likely want to dig into performance and benchmarking.
Often what you think will help performance doesn’t have as much of an impact as you would guess.
After considering and comparing a lot of possibilities in experimental code, and after using
yield_self extensively in production, the author now firmly believes that the best possible name for the method is just
There are a lot of things that can slow down your tests – some of them are related to your code and some not.
This article will focus on quick changes that can make your specs faster and what is more important – better.
This method of debugging becomes especially useful when examining something below your own code, in a gem for instance.
One thing that can get in the way of this style of debugging is the other log messages on your console. By default,
puts outputs to