Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hamiltont/0dd214f1e811c440dc84 to your computer and use it in GitHub Desktop.
Save hamiltont/0dd214f1e811c440dc84 to your computer and use it in GitHub Desktop.
# Run the benchmarker in the specified mode
if benchmarker.list_tests == "True":
print "1"
benchmarker.run_list_tests()
elif benchmarker.list_test_metadata == "True":
print "2"
benchmarker.run_list_test_metadata()
elif benchmarker.parse != "None":
print "3"
benchmarker.parse_timestamp()
elif not benchmarker.install_only:
print "##### WIN #####"
return benchmarker.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment