#NEWLINE# def time_one( args , test , queue ) : #NEWLINE# #INDENT# filepath = test [ 'filepath' ] #NEWLINE# func = test [ 'test_func' ] #NEWLINE# random . seed ( args . seed ) #NEWLINE# with Timer ( ) as t : #NEWLINE# #INDENT# func ( t ) #NEWLINE# #UNINDENT# queue . put ( t . msecs ) #NEWLINE# queue . put ( ( resource . getrusage ( resource . RUSAGE_SELF ) . ru_maxrss / 1000.0 ) )