From c08504a089858d4fbb9485acc3d9f81c63bef498 Mon Sep 17 00:00:00 2001 From: Stephen Mardson McQuay Date: Tue, 24 May 2011 18:42:42 -0600 Subject: [PATCH] simplified results for benchmark tests --- bin/master.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/master.py b/bin/master.py index 11e3557..fe10b0c 100644 --- a/bin/master.py +++ b/bin/master.py @@ -126,6 +126,8 @@ if __name__ == '__main__': stats['receive' ] = float(receive) stats['count' ] = count stats['participants'] = participants + stats['extra' ] = options.extra + stats['order' ] = options.order print "%s" % stats log.error("stats: %s", stats) @@ -135,12 +137,12 @@ if __name__ == '__main__': tasks_accomplished_by[i[1]] += 1 stats['tasks'] = tasks_accomplished_by - npresults = np.array([(i[0],i[2],i[3],i[4], i[5]) for i in results]) + # npresults = np.array([(i[0],i[2],i[3],i[4], i[5]) for i in results]) - s = shelve.open(options.shelvename) n = str(time.time()) + s = shelve.open(options.shelvename) s[n] = { 'stats' : stats, - 'results' : npresults, + # 'results' : npresults, } s.close()