tree: 25228c6d2b7a4a0e373e78ee380c7599d493413f [path history] [tgz]
  1. src/
  2. tests/
  3. pyproject.toml
  4. README.md
performance/README.md

Apache Airflow Performance Testing

This package contains performance testing utilities and DAGs for Apache Airflow.

Overview

The performance testing framework generates DAGs for performance testing purposes. The number of DAGs, tasks, and their structure can be controlled through environment variables.

Environment Variables

  • PERF_DAGS_COUNT - number of DAGs to generate
  • PERF_TASKS_COUNT - number of tasks in each DAG
  • PERF_START_DATE - if not provided current time - PERF_START_AGO applies
  • PERF_START_AGO - start time relative to current time used if PERF_START_DATE is not provided. Default 1h
  • SCHEDULE_INTERVAL_ENV - Schedule interval. Default @once
  • PERF_SHAPE - shape of DAG. See DagShape. Default NO_STRUCTURE

Installation

pip install -e .

License

Apache License 2.0