File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1528,7 +1528,6 @@ def establish_original_code_baseline(
15281528
15291529 async_throughput = None
15301530 if self .function_to_optimize .is_async :
1531- logger .info ("Calculating async function throughput from test output..." )
15321531 async_throughput = calculate_function_throughput_from_test_results (
15331532 benchmarking_results , self .function_to_optimize .function_name
15341533 )
@@ -1693,11 +1692,11 @@ def run_optimized_candidate(
16931692
16941693 logger .debug (f"Total optimized code { optimization_candidate_index } runtime (ns): { total_candidate_timing } " )
16951694
1696- candidate_async_throughput = None
1697- if self .function_to_optimize .is_async and candidate_benchmarking_results :
1695+ if self .function_to_optimize .is_async :
16981696 candidate_async_throughput = calculate_function_throughput_from_test_results (
16991697 candidate_benchmarking_results , self .function_to_optimize .function_name
17001698 )
1699+ logger .info (f"Candidate async function throughput: { candidate_async_throughput } calls/second" )
17011700
17021701 if self .args .benchmark :
17031702 candidate_replay_benchmarking_results = candidate_benchmarking_results .group_by_benchmarks (
You can’t perform that action at this time.
0 commit comments