High performance qps counter