asv.commands.run

Classes

Run

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

Functions

_do_build(args)

_do_build_multiprocess(args_sets)

multiprocessing callback to build the project in one particular

Module Contents

asv.commands.run._do_build(args)[source]
asv.commands.run._do_build_multiprocess(args_sets)[source]

multiprocessing callback to build the project in one particular environment.

class asv.commands.run.Run[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 _setup_arguments(parser, env_default_same=False)[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, range_spec=None, steps=None, date_period=None, bench=None, attribute=None, parallel=1, show_stderr=False, quick=False, profile=False, env_spec=None, set_commit_hash=None, dry_run=False, machine=None, _machine_file=None, skip_successful=False, skip_failed=False, skip_existing_commits=False, record_samples=False, append_samples=False, pull=True, interleave_rounds=False, launch_method=None, durations=0, _returns={})[source]
classmethod format_durations(durations, num_durations)[source]