#NEWLINE# def worker_stats( worker ) : #NEWLINE# #INDENT# tests = RESULTS [ worker ] #NEWLINE# num_tests = len ( tests ) #NEWLINE# delta = ( tests [ ( - 1 ) ] [ 'timestamps' ] [ 1 ] - tests [ 0 ] [ 'timestamps' ] [ 0 ] ) #NEWLINE# return ( num_tests , delta )