def perf_parsing_speed(self):
        transport = MockTransport()
        protocol = HttpProtocol()
        transport.start(protocol)
        r = b'HTTP/1.1 200 OK\r\nContent-Length: 10000\r\n\r\n'
        r += b'x' * 10000
        reqs = 4 * r
        nbytes = 0
        t0 = t1 = time.time()
        while t1 - t0 < 1.0:
            protocol.data_received(reqs)
            del protocol._queue._heap[:]
            nbytes += len(reqs)
            t1 = time.time()
        speed = nbytes / (t1 - t0) / (1024 * 1024)
        self.add_result(speed)