move benchmarks to own file

* move benchmarks from driver_test.go into its own file
* add benchmarks written by Brad Fitzpatrick to measure allocations