projects
/
c11concurrency-benchmarks.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
benchmark silo added
[c11concurrency-benchmarks.git]
/
silo
/
benchmarks
/
plotter.py
1
import matplotlib
2
matplotlib.use('Agg')
3
import pylab as plt
4
5
import sys
6
7
if __name__ == '__main__':
8
(_, fname, oname) = sys.argv
9
execfile(fname)
10
for name, data in zip(DBS, RESULTS):
11
plt.plot(THREADS, data)
12
plt.xlabel('num threads')
13
plt.ylabel('ops/sec')
14
plt.title('')
15
plt.legend(DBS, loc='lower right')
16
plt.savefig(oname)