asv.commands.profiling

Classes

Profile

Helper class that provides a standard way to create an ABC using

Functions

temp_profile(profile_data)

Module Contents

asv.commands.profiling.temp_profile(profile_data)[source]
class asv.commands.profiling.Profile[source]

Helper class that provides a standard way to create an ABC using inheritance.

classmethod setup_arguments(subparsers)[source]

Method to add the parser and arguments of the command.

In most cases, subparser.add_parser(cmd_name) should be called to add the command (where cmd_name is for example run or continuous). And then call add_argument to the returned parser, to add the command arguments.

classmethod find_guis()[source]
classmethod run_from_conf_args(conf, args, **kwargs)[source]

Call the run method (i.e. cls.run) with the right arguments from conf and args. In most cases this is just something like clf.run(conf=conf, my_arg_1=args.my_arg_1, my_arg_2=args.my_arg_2, …).

classmethod run(conf, benchmark, revision=None, gui=None, output=None, force=False, env_spec=None, launch_method=None, _machine_file=None)[source]