compare-git-versions: A Simple Development Tool for Refactoring and Benchmarking

20 minutes



This presentation will show an easy way to measure performance improvements in library code against earlier versions of the same code.

Let's say you've done the right thing: You wrote a test suite for your code. You measured the coverage your test suite provides to your code. You're written more tests to boost that test coverage as near as possible to 100%. You respond quickly to bug reports. And you keep your code under version control.

Congratulations! Your code is, for all practical purposes, correct.

Now is the point where you can start to make your code run faster!

In this presentation we'll introduce a simple program that enables you to simultaneously test revisions to your code and measure its speed against earlier versions of the same code. We'll provide a real-life example of how this approach was used to speed up code that has been on CPAN for thirteen years 

[ Abstract - Talk ]