#NEWLINE# def size_report( sizes = ( 10 , 100 , 1000 , 10000 , 100000 , 100000000 ) , concurrency = 50 ) : #NEWLINE# #INDENT# sess = ABSession ( concurrency = concurrency ) #NEWLINE# ( attrs , names , patterns ) = list ( zip ( * sess . parse_patterns ) ) #NEWLINE# ( yield ( ( 'bytes' , ) + names ) ) #NEWLINE# for sz in sess : #NEWLINE# #INDENT# sess . path = ( '%s/sizer?size=%s' % ( SCRIPT_NAME , sz ) ) #NEWLINE# sess . run ( ) #NEWLINE# ( yield ( [ sz ] + [ getattr ( sess , attr ) for attr in attrs ] ) )