File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,10 @@ def cycling_query_generator(queries, total_count):
156156 total_query_count = len (used_queries )
157157
158158 if parallel == 1 :
159- # Create a progress bar with the correct total
160- pbar = tqdm .tqdm (total = total_query_count , desc = "Processing queries" , unit = "queries" )
161-
162159 # Single-threaded execution
163160 start = time .perf_counter ()
164161
165- # Process queries with progress updates
162+ # Process queries
166163 results = []
167164 total_insert_count = 0
168165 total_search_count = 0
@@ -180,10 +177,7 @@ def cycling_query_generator(queries, total_count):
180177 total_search_count += 1
181178 all_search_latencies .append (latency )
182179 results .append (('search' , precision , latency ))
183- pbar .update (1 )
184180
185- # Close the progress bar
186- pbar .close ()
187181 total_time = time .perf_counter () - start
188182 else :
189183 # Dynamically calculate chunk size based on total_query_count
You can’t perform that action at this time.
0 commit comments