Function
handle_run
(
rt: &Runtime,
ctx: &SessionContext,
args: &EnvParser,
benchmark: &mut SqlBenchmark,
name: &str,
)
Source from the content-addressed store, hash-verified
| 162 | } |
| 163 | |
| 164 | fn handle_run( |
| 165 | rt: &Runtime, |
| 166 | ctx: &SessionContext, |
| 167 | args: &EnvParser, |
| 168 | benchmark: &mut SqlBenchmark, |
| 169 | name: &str, |
| 170 | ) { |
| 171 | rt.block_on(async { |
| 172 | benchmark |
| 173 | .run(ctx, args.validate) |
| 174 | .await |
| 175 | .unwrap_or_else(|err| panic!("Failed to run benchmark {name}: {err:?}")) |
| 176 | }); |
| 177 | } |
| 178 | |
| 179 | fn handle_persist( |
| 180 | rt: &Runtime, |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…