Skip to content

Instantly share code, notes, and snippets.

@msmith-techempower
Last active August 29, 2015 14:08
Show Gist options
  • Save msmith-techempower/722688899b7aec6ad63b to your computer and use it in GitHub Desktop.
Save msmith-techempower/722688899b7aec6ad63b to your computer and use it in GitHub Desktop.
benchmarker = Benchmarker(vars(args))
print "benchmarker.list_tests: {}".format(str(benchmarker.list_tests))
print "benchmarker.list_test_metadata: {}".format(str(benchmarker.list_test_metadata))
print "benchmarker.parse: {}".format(str(benchmarker.parse))
print "benchmarker.install_only: {}".format(str(benchmarker.install_only))
# Run the benchmarker in the specified mode
if benchmarker.list_tests:
print "1"
benchmarker.run_list_tests()
elif benchmarker.list_test_metadata:
print "2"
benchmarker.run_list_test_metadata()
elif benchmarker.parse is not None:
print "3"
benchmarker.parse_timestamp()
elif not benchmarker.install_only:
print "##### WIN #####"
return benchmarker.run()
----------------- SNIP ---------------
INSTALL: Finished installing server software
benchmarker.list_tests: False
benchmarker.list_test_metadata: False
benchmarker.parse: None
benchmarker.install_only: False
1
gemini
================================================================================
Verification Summary
| Test: gemini
| NO RESULTS (Did framework launch?)
================================================================================
Time to complete: 1 seconds
Results are saved in results/ec2/None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment