Skip to content

Commit af9cc72

Browse files
Removed extra imports
1 parent d5c2621 commit af9cc72

File tree

1 file changed

+0
-7
lines changed
  • redis_benchmarks_specification/__runner__

1 file changed

+0
-7
lines changed

redis_benchmarks_specification/__runner__/runner.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,6 @@ def run_multiple_clients(
349349
)
350350

351351
# Start container (detached)
352-
import os
353-
354352
# Set working directory based on tool
355353
working_dir = benchmark_tool_workdir
356354
if "vector-db-benchmark" in client_tool:
@@ -483,8 +481,6 @@ def run_multiple_clients(
483481

484482
if successful_results:
485483
# Try to read and aggregate JSON output files
486-
import json
487-
import os
488484

489485
aggregated_json = {}
490486
memtier_json = None
@@ -1647,8 +1643,6 @@ def delete_temporary_files(
16471643
)
16481644

16491645
# Use explicit container management for single client
1650-
import os
1651-
16521646
# Set working directory based on tool
16531647
working_dir = benchmark_tool_workdir
16541648
if "vector-db-benchmark" in benchmark_tool:
@@ -1821,7 +1815,6 @@ def delete_temporary_files(
18211815
)
18221816
elif "vector-db-benchmark" in benchmark_tool:
18231817
# For vector-db-benchmark, look for summary JSON file
1824-
import os
18251818
summary_files = [f for f in os.listdir(temporary_dir_client) if f.endswith("-summary.json")]
18261819
if summary_files:
18271820
full_result_path = os.path.join(temporary_dir_client, summary_files[0])

0 commit comments

Comments
 (0)