asv.benchmark

Usage: python -masv.benchmark COMMAND […]

Manage a single benchmark and, when run from the commandline, report its runtime to a file.

commands:

timing […]

Run timing benchmark for given Python statement.

internal commands:

discover BENCHMARK_DIR RESULT_FILE

Discover benchmarks in a given directory and store result to a file.

setup_cache BENCHMARK_DIR BENCHMARK_ID

Run setup_cache for given benchmark.

run BENCHMARK_DIR BENCHMARK_ID QUICK PROFILE_PATH RESULT_FILE

Run a given benchmark, and store result in a file.

run_server BENCHMARK_DIR SOCKET_FILENAME

Run a Unix socket forkserver.

Attributes

Functions

_help(args)

main()

Module Contents

asv.benchmark._help(args)[source]
asv.benchmark.commands[source]
asv.benchmark.main()[source]