Made changes to allow a brute force measurement of qps