It is correct, but is it fast?
Piotr Murach
• Minsk, Belarus
•
Talk
Date: April 06, 2019
Published: April 25, 2019
Announced: unknown
#RubyConfBY 2019 - https://rubyconference.by
#Ruby is optimised for happiness, we tell ourselves when we write beautiful code. We've written our acceptance and unit tests. What else is there to do? Nah, we don't need to worry about performance.
Sometimes, though, things turn sour when your beautiful code meets reality and the data processing consumes all of the server's resources. There are no magic bullets that can instantly detect performance and scaling issues in our code, but there are techniques that can help.
In this talk, you'll learn all about the benefits of writing performance assertions in a test suite. You'll see how a seemingly reasonable algorithm in fact exhibits abysmal performance and doesn't scale. We'll explore two different types of performance assertions that can be used to establish the performance characteristics of our example. Once we've done that, from then on, only hard cold measurements will guide us in refactoring the code to be more performant.
You will leave equipped with the techniques to help you learn how fast your code really is. Let's put a stop to slow code and remove all of those pesky performance bugs!
Video Partner – iTechArt https://www.itechart.by
RubyConfBY 2019