ENH: add git names to test_perf.py

Let users pass nice git names so that they don't have to manually pass sha1
hashes to test between commits.
Merge pull request #4392 from cpcloud/test_perf-rev-parse

ENH: add git names to test_perf.py