File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
execution/executor-benchmark/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -520,8 +520,11 @@ pub enum SingleRunMode {
520520 } ,
521521}
522522
523- // Optional more detailed configuration.
523+ /// Optional more detailed configuration.
524524pub struct SingleRunAdditionalConfigs {
525+ /// If num_generator_workers=1 then order in which transactions are generated
526+ /// is kept in the block, otherwise transactions from different workers are
527+ /// stitched together in arbitrary order
525528 pub num_generator_workers : usize ,
526529 pub split_stages : bool ,
527530}
@@ -575,8 +578,8 @@ pub fn run_single_with_default_params(
575578 } ,
576579 } ;
577580 let num_generator_workers = match mode {
578- SingleRunMode :: TEST
579- | SingleRunMode :: BENCHMARK {
581+ SingleRunMode :: TEST => 1 ,
582+ SingleRunMode :: BENCHMARK {
580583 additional_configs : None ,
581584 ..
582585 } => 4 ,
You can’t perform that action at this time.
0 commit comments