@@ -25,6 +25,7 @@ def run_command_logic(args):
2525
2626 local_path = os .path .abspath (args .local_dir )
2727 workers = args .workers
28+ pipeline = args .pipeline
2829 benchmark_machine_info = cpuinfo .get_cpu_info ()
2930 total_cores = benchmark_machine_info ['count' ]
3031 benchmark_infra = {"total-benchmark-machines" : 0 , "benchmark-machines" : {}, "total-db-machines" : 0 ,
@@ -35,6 +36,10 @@ def run_command_logic(args):
3536 if workers == 0 :
3637 print ('Setting number of workers equal to machine VCPUs {}' .format (total_cores ))
3738 workers = total_cores
39+ else :
40+ print ('Setting number of workers to {}' .format (workers ))
41+
42+ print ('Setting pipeline to {}' .format (pipeline ))
3843
3944 deployment_type = args .deployment_type
4045 config_filename = args .benchmark_config_file
@@ -120,7 +125,7 @@ def run_command_logic(args):
120125 benchmark_output_dict ["setup" ][setup_run_key ] = run_ftsb_redisearch (args .redis_url ,
121126 benchmark_tool_path ,
122127 setup_run_json_output_fullpath ,
123- options , input_file , workers )
128+ options , input_file , workers , pipeline )
124129 progress .update ()
125130
126131 ######################
@@ -133,7 +138,7 @@ def run_command_logic(args):
133138 benchmark_output_dict ["benchmark" ][benchmark_run_key ] = run_ftsb_redisearch (args .redis_url ,
134139 benchmark_tool_path ,
135140 benchmark_run_json_output_fullpath ,
136- options , input_file , workers )
141+ options , input_file , workers , pipeline )
137142
138143 if benchmark_repetitions_require_teardown is True or repetition == args .repetitions :
139144 print ("Running tear down steps..." )
0 commit comments