Skip to content
Browse files

added reporting for the correctly calculated cdf results across all bees

  • Loading branch information...
1 parent f381713 commit ed8abc293aff1a857261f8a215492fc5ca957d15 @deanmalmgren committed Apr 23, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 beeswithmachineguns/bees.py
View
3 beeswithmachineguns/bees.py
@@ -314,6 +314,9 @@ def width(self):
if cumulative_mass * 100 > len(request_time_cdf):
request_time_cdf.append(bin.uprbnd)
+ print ' 50%% responses faster than:\t%f [ms]' % request_time_cdf[49]
+ print ' 90%% responses faster than:\t%f [ms]' % request_time_cdf[89]
+
complete_results = [r['fifty_percent'] for r in complete_bees]
mean_fifty = sum(complete_results) / num_complete_bees
print ' 50%% response time:\t\t%f [ms] (mean)' % mean_fifty

0 comments on commit ed8abc2

Please sign in to comment.
Something went wrong with that request. Please try again.