Codecast: Create a RubyGem 33: Add a benchmark script part 3


This is the 33rd video in the NerdDice create a RubyGem series. In this video Mike completes the benchmark script from the previous videos.

This video covers:

  • 00:00:12 Introduction, review what we’ve done so far and what’s left
  • 00:01:00 Print out the calculated ratios in the script so we can run the script a few times and inductively get a sense of what the values should be
  • 00:08:32 Introduce an intentional performance degradation and ensure script fails
  • 00:13:07 Improve the error message to provide expected vs actual if script fails
  • 00:16:40 Fix RuboCop offenses
  • 00:20:55 Commit code, push, evaluate on GitHub Actions. Adjust ratios
  • 00:23:22 Squash commits, open pull request, adjust ratios again, merge
, , , ,

Leave a Reply