Add basic benchmark utilities

They're not saved anywhere yet, and the code isn't refined enough to
warrant it, imo.  If it becomes useful, I could set up some sort of
autogenerate on commit or something.