(self, env: DaskEnvironment)
| 20 | return {"task_count": self.task_count} |
| 21 | |
| 22 | def execute(self, env: DaskEnvironment) -> WorkloadExecutionResult: |
| 23 | from distributed import Client |
| 24 | |
| 25 | def run(client: Client): |
| 26 | tasks = [client.submit(empty, pure=False) for _ in range(self.task_count)] |
| 27 | client.gather(tasks) |
| 28 | |
| 29 | return measure_dask_tasks(env, run) |
nothing calls this directly
no test coverage detected