Benchmarks Are Free Now

29 · Daniel Doubrovkine (dB.) @dblockdotorg · Aug. 15, 2026, 4:03 p.m.
Summary
The blog post discusses a performance regression introduced in a Ruby gem due to changes made. It highlights the importance of benchmarking to catch such issues, detailing how a simple benchmark script can now be quickly generated using Copilot CLI. The author demonstrates the problem of slower method calls in subclasses and shares the solution of memoizing a merged hash to improve performance. Ultimately, the post emphasizes that writing benchmarks has become easier and is now an integral part of the development process.