#NEWLINE# def bench_apply_async( ntimes ) : #NEWLINE# #INDENT# time_start = time . time ( ) #NEWLINE# for i in range ( ntimes ) : #NEWLINE# #INDENT# add . apply_async ( args = [ i , ntimes ] ) #NEWLINE# #UNINDENT# print ( 'apply_async called {} times in {} seconds' . format ( ntimes , ( time . time ( ) - time_start ) ) )