benchbuild.projects.benchbuild.python module

class benchbuild.projects.benchbuild.python.Python(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.project.Project

python benchmarks

DOMAIN = 'compilation'
GROUP = 'benchbuild'
NAME = 'python'
SRC_FILE = 'python.tar.xz'
VERSION = '3.4.3'
compile()[source]

Compile the project.

download()

Download the selected version from the url_dict value.

run_tests(runner)[source]

Run the tests of this project.

Clients override this method to provide customized run-time tests.

Parameters:
  • experiment – The experiment we run this project under
  • run – A function that takes the run command.
static versions()

Return a list of versions from the url_dict keys.