Skip to content

Instantly share code, notes, and snippets.

@marcelcaraciolo
Last active December 15, 2015 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelcaraciolo/5219225 to your computer and use it in GitHub Desktop.
Save marcelcaraciolo/5219225 to your computer and use it in GitHub Desktop.
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