Skip to content

Commit 9b1cf5c

Browse files
removed unnecessary functions
Signed-off-by: Jaya Venkatesh <[email protected]>
1 parent 9f9ffab commit 9b1cf5c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

rapids_cli/benchmark/benchmark.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,12 @@ def benchmark_run(
102102

103103
# Handle dry run
104104
if dry_run:
105-
_render_dry_run()
105+
console.print(f"[bold green]{BENCHMARK_SYMBOL} Running RAPIDS CPU vs GPU benchmarks [/bold green]")
106+
console.print("Dry run, skipping benchmarks")
106107
return True
107108

108109
if not benchmarks:
109-
_render_no_benchmarks()
110+
console.print("[yellow]No benchmarks found. Install RAPIDS libraries to enable benchmarks.[/yellow]")
110111
return True
111112

112113
# Execute benchmarks and collect results
@@ -318,12 +319,3 @@ def _display_benchmark_results(results: list[BenchmarkResult], verbose: bool) ->
318319

319320
console.print()
320321
console.print(table)
321-
322-
def _render_dry_run():
323-
"""Render dry run output."""
324-
console.print(f"[bold green]{BENCHMARK_SYMBOL} Running RAPIDS CPU vs GPU benchmarks [/bold green]")
325-
console.print("Dry run, skipping benchmarks")
326-
327-
def _render_no_benchmarks():
328-
"""Render output when no benchmarks are found."""
329-
console.print("[yellow]No benchmarks found. Install RAPIDS libraries to enable benchmarks.[/yellow]")

0 commit comments

Comments
 (0)