paint-brush
Profiling: the obvious step after Benchmarking your Ruby code.by@jubaan
345 reads
345 reads

Profiling: the obvious step after Benchmarking your Ruby code.

by Julio Añoveros13mSeptember 29th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Coin Mentioned

Mention Thumbnail
featured image - Profiling: the obvious step after Benchmarking your Ruby code.
Julio Añoveros HackerNoon profile picture
Julio Añoveros

Julio Añoveros

@jubaan

Hi!, I'm a remote Full-stack Web Developer and student at Microverse.

About @jubaan
LEARN MORE ABOUT @JUBAAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Julio Añoveros HackerNoon profile picture
Julio Añoveros@jubaan
Hi!, I'm a remote Full-stack Web Developer and student at Microverse.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Habr
Trom