Use testing.AllocsPerRun instead of custom implementation
Use testing.AllocsPerRun instead of custom implementation

zhaojkun/go-thrift,wfxiang08/go-thrift,i/go-thrift,prashantv/go-thrift,nuance/go-thrift