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):
156
156
total_query_count = len (used_queries )
157
157
158
158
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
-
162
159
# Single-threaded execution
163
160
start = time .perf_counter ()
164
161
165
- # Process queries with progress updates
162
+ # Process queries
166
163
results = []
167
164
total_insert_count = 0
168
165
total_search_count = 0
@@ -180,10 +177,7 @@ def cycling_query_generator(queries, total_count):
180
177
total_search_count += 1
181
178
all_search_latencies .append (latency )
182
179
results .append (('search' , precision , latency ))
183
- pbar .update (1 )
184
180
185
- # Close the progress bar
186
- pbar .close ()
187
181
total_time = time .perf_counter () - start
188
182
else :
189
183
# Dynamically calculate chunk size based on total_query_count
You can’t perform that action at this time.
0 commit comments