File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/benchmark/data/scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -445,21 +445,21 @@ int main(int argc, char *argv[]) {
445445 break ;
446446 }
447447
448- // Print progress every 1 seconds
448+ // Print progress every 5 seconds
449449 size_t current_indexed = VecSimIndex_IndexSize (index);
450450 size_t queue_size = mock_thread_pool->jobQ .size ();
451451
452452 auto elapsed = std::chrono::duration_cast<std::chrono::seconds>(
453453 std::chrono::steady_clock::now () - start_time).count ();
454454
455- if (current_indexed != last_indexed || elapsed % 1 == 0 ) {
455+ if (current_indexed != last_indexed || elapsed % 5 == 0 ) {
456456 std::cout << " \r Indexed: " << current_indexed << " /" << num_vectors
457457 << " | Queue: " << queue_size
458458 << " | Time: " << elapsed << " s " << std::flush;
459459 last_indexed = current_indexed;
460460 }
461461
462- std::this_thread::sleep_for (std::chrono::milliseconds (100 ));
462+ std::this_thread::sleep_for (std::chrono::milliseconds (1000 ));
463463 }
464464 std::cout << " \n " ;
465465
You can’t perform that action at this time.
0 commit comments