Tutorials

How to relax your Ruby version specification in your Gemfile
Have you ever run into this error?Your Ruby version is 2.6.1, but your Gemfile specified 2.6.3Annoying, right? You know your Ruby version is new enough to run this application, but the Gemfile is so fussy.Turns out, Gemfiles don't have to be so pi...


Why is Ruby Slower on Mac? An Early Investigation
Sam Saffron has been investigating Discourse test run times on different platforms. While he laments spending so much extra time by running Windows, what strikes me most is the extra time on Mac — which many, many Rubyists use as their daily drive...




Ludicrously Fast Page Loads - A Guide for Full-Stack Devs
Server response times, while easy to track and instrument, are ultimately a meaningless performance metric from an end-user perspective. Actual end-user response to the word ‘microservices’ End-users don’t care how fast your super-turbocharged bar...

Hacking Your Webpage's Head Tags for Speed and Profit
Most of us developers settle for page load times somewhere between 3 and 7 seconds. We open up the graph in NewRelic or webpagetest.org, sigh, and then go back to implementing that new feature that the marketing people absolutely must have deploye...

rack-mini-profiler - the Secret Weapon of Ruby and Rails Speed
rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU time.rack-mini-profiler is a a performance tool for Rack applications, maintained by the talented @samsaffron. rack-mini-pro...