Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
runner = BenchmarkRunner(suite, '.', 'Cosine benchmarks')
n_benchs, results = runner.run()
fig = runner.plot_relative(results, horizontal=True, logy=True)
plt.show()
#plt.savefig('%s_r.png' % runner.name, bbox_inches='tight')
fig = runner.plot_absolute(results, horizontal=False, logy=True)
plt.show()
#plt.savefig('%s.png' % runner.name) # bbox_inches='tight')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment