rs_workflows/benchmarking/benchmarking_flow.md
Benchmarking flows.
benchmark_processor(env, processor_name, processor_version, scenario_name)
async
https://pforge-exchange2.astrium.eads.net/jira/browse/RSPY-1099
This flow reads one Prefect variable named "benchmarking-
This flow will
- Execute a mock task using the provided input parameters: processor name, version, and scenario.
- Generate a fake Markdown artifact named "benchmarking-result".
This artifact contains
- The input parameters passed to the benchmark-processor flow.
- The settings fetched from the Prefect variable.
Source code in docs/rs-client-libraries/rs_workflows/benchmarking/benchmarking_flow.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | |
benchmark_processor_task(env, processor_name, processor_version, scenario_name)
async
Task called by the flow of the same name.
Source code in docs/rs-client-libraries/rs_workflows/benchmarking/benchmarking_flow.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |