'Tests the performance of C{NetstringReceiver.dataReceived}.
Feeds netstrings of various sizes in different chunk sizes
to a C{NetstringReceiver} and stores the elapsed time in
C{self.performanceData}.
@param number: The maximal chunks size / number of
chunks to be checked.
@type number: C{int}'

def performTest(self, number):

    chunkSize = (2 ** number)
    numberOfChunks = chunkSize
    while numberOfChunks:
        self.testCombination(chunkSize, numberOfChunks)
        numberOfChunks = (numberOfChunks // 2)
