taps.apps.configs.synthetic¶
SyntheticConfig
¶
Bases: AppConfig
Synthetic application configuration.
Parameters:
-
name(Literal['synthetic'], default:'synthetic') –Application name.
-
structure(WorkflowStructure) –Workflow structure.
-
task_count(int) –Number of tasks in the workflow.
-
task_data_bytes(int, default:0) –Intermediate task data size.
-
task_sleep(float, default:0) –Minimum duration of each task.
-
bag_max_running(int | None, default:None) –Max running tasks in bag workflow.
-
warmup_tasks(int, default:0) –Number of warmup tasks before running the workflow.
-
task_std(float, default:0) –Standard deviation in duration.
get_app
¶
get_app() -> App
Create an application instance from the config.