IRB's Built-in Measure

made by jemmaissroff, submitted by nicholasbs
Did you know Ruby 3.0 has an easy, built-in way to measure how long code takes to run in the REPL? This post walks you through the new feature and how to use it.