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

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

By James E Keenan (‎kid51‎) from NY.pm
Date: Monday, 8 June 2015 15:30
Duration: 20 minutes
Target audience: Beginner
Language: English
Tags: control coverage git refactoring testing version

You can find more information on the speaker's site:


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.


Attended by: Dave Rolsky (‎autarch‎), Bruce Gray (‎Util‎), Marcus Del Greco, Lonny Jepson, Jason Hall (‎Jayce^‎), Derek Clifford, Garth Hill, Graham Ollis (‎plicease‎), Scott Gustafson, Joseph Hall, Jared Miller, Erik Peterson, James Dwyer (‎Jim‎), Graham TerMarsch, Jordan Adler (‎jmadler‎), Ben Wasley, Mark Gardner (‎mjgardner‎), Tim Howe (‎thowe‎), James E Keenan (‎kid51‎), James Morgan (‎Ven'Tatsu‎), Jeremy Zawodny, Daya Nune, David Oswald (‎davido‎), Phil Windley, Wes Malone (‎wesm‎), Drew Taylor (‎drewbie‎), Jeff Smith, Thomas Stanton (‎tstanton‎), Patrick Cronin, Garth Mortensen, Liam McNerney (‎Lthemick‎), Kyle Siemer (‎silvanus‎), Adam Rich, Upasana Shukla (‎upasana‎), Weldon Whipple, Jason Terry, Adam Schobelock, Allie Rogers, Dillan Hildebrand, Irina Todeva, Aran Deltac (‎bluefeet‎), Chad Granum (‎Exodist‎), Mark Wells, Norman Yamada, Matthew Green, Ryan Haudenschilt, Joshua Miller, Mike Greb (‎mikegrb‎), Gary Norton, Tim Bunce, Sean Murphy, Ryan Olson (‎Gimpson‎), William Souder (‎dogrr‎),