See the BenchmarkUploadFile this will run an auto sizing benchmark that if you drop the printf stuff from the upload will give you a comparable command for validating changes.
Change the uploadFile func ot suit your need and perhaps remove the individual print of time but you should be able to get comparable numbers from this
go test -bench=.