Stephen Mardson McQuay
f47585735d
--HG-- rename : plots/scalability/speedup.plt => plots/scalability/efficiency.plt
23 lines
426 B
Python
23 lines
426 B
Python
import sys
|
|
import shelve
|
|
import pickle
|
|
|
|
import numpy as np
|
|
|
|
if len(sys.argv) != 2:
|
|
print "usage: %s <interp.shelve>" % sys.argv[0]
|
|
sys.exit(1)
|
|
|
|
|
|
s = shelve.open(sys.argv[1])
|
|
d = dict(s)
|
|
s.close()
|
|
|
|
for line in (i[1] for i in sorted(d.iteritems(), key = lambda x: x[1]['stats']['participants'])):
|
|
run = line['stats']
|
|
print "#", run['participants']
|
|
x = np.array(run['tasks'].values())
|
|
for i in x:
|
|
print i
|
|
print
|