human
Here's a good function header given the following:
I wrote the below code

    overallResult = {}
    byteCount = 1024
    bufferedDeferred = _benchmarkBuffered((byteCount * scale))
    def didBuffered(bufferedResult):
        overallResult[u'buffered'] = bufferedResult
        unbufferedDeferred = _benchmarkUnbuffered((byteCount * scale))
        def didUnbuffered(unbufferedResult):
            overallResult[u'unbuffered'] = unbufferedResult
            return overallResult
        unbufferedDeferred.addCallback(didUnbuffered)
        return unbufferedDeferred
    bufferedDeferred.addCallback(didBuffered)
    return bufferedDeferred

What's a good function header?
assistant
#Here's a good function header.

def benchmark(scale=1):