Perf isn't doing what I want, so I'm writing my own.