Unverified Commit 7f27afe8 by Skye Wanderman-Milne Committed by GitHub

Expose methods for custom main functions in Python. (#993)

parent 8f5e6ae0
......@@ -60,3 +60,8 @@ def _run_benchmarks(argv):
def main(argv=None):
return app.run(_run_benchmarks, argv=argv, flags_parser=_flags_parser)
# Methods for use with custom main function.
initialize = _benchmark.Initialize
run_benchmarks = _benchmark.RunSpecifiedBenchmarks
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment