func benchmarkHTTPImpl(N uint64) { driver.Parallel(N, procs, func() { t0 := time.Now() makeOneRequest() driver.LatencyNote(t0) }) }
func benchmarkN(N uint64) { driver.Parallel(N, 4, func() { var r Response if err := json.Unmarshal(jsonbytes, &r); err != nil { panic(err) } if _, err := json.Marshal(&jsondata); err != nil { panic(err) } }) }