How to use the pyperformance.run.run_perf_script function in pyperformance

To help you get started, we’ve selected a few pyperformance examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_python_startup_no_site(python, options):
    return run_perf_script(python, options, "python_startup",
                           extra_args=["--no-site"])
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_genshi(python, options):
    return run_perf_script(python, options, "genshi")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_json_loads(python, options):
    return run_perf_script(python, options, "json_loads")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_pidigits(python, options):
    return run_perf_script(python, options, "pidigits")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_richards(python, options):
    return run_perf_script(python, options, "richards")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_Tornado_Http(python, options):
    return run_perf_script(python, options, "tornado_http")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_Django_Template(python, options):
    return run_perf_script(python, options, "django_template")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_logging(python, options):
    return run_perf_script(python, options, "logging")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_Go(python, options):
    return run_perf_script(python, options, "go")
github python / pyperformance / pyperformance / benchmarks / __init__.py View on Github external
def BM_Chameleon(python, options):
    return run_perf_script(python, options, "chameleon")