Codecast: Create a RubyGem 31: Add a benchmark script part 1


This is the 31st video in the NerdDice create a RubyGem series. In this video, Mike begins work on on a benchmark script for the gem that will be invoked as part of the remote build process.

This video covers:

  • 00:00:12 Introduction, overview of benchmarking goals
  • 00:02:07 Create Ruby script in bin directory
  • 00:07:56 Try to run script, fix permissions, figure out how to properly require the gem by looking in the setup script
  • 00:12:35 Fix RuboCop offenses
  • 00:15:27 Add script to GitHub action push to GitHub, examine results
  • 00:18:10 Throw error in script to fail action on purpose
  • 00:20:25 Revert to previous commit and force push
, , , ,

Leave a Reply