Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions vortex-bench/src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ impl BenchmarkOutput {
///
/// Returns `target/vortex-bench/<benchmark_id>/results.json`.
pub fn default_output_path(benchmark_id: &str) -> PathBuf {
vortex_bench_dir().join(benchmark_id).join(DEFAULT_FILENAME)
bench_results_dir()
.join(benchmark_id)
.join(DEFAULT_FILENAME)
}

/// Create an appropriate writer based on display format and output path.
Expand All @@ -106,10 +108,10 @@ pub fn create_output_writer(
}
}

/// Get the base directory for vortex benchmark results.
/// Get the base directory for benchmark results.
///
/// Returns `target/vortex-bench/`.
pub fn vortex_bench_dir() -> PathBuf {
pub fn bench_results_dir() -> PathBuf {
workspace_root().join("target").join("vortex-bench")
}

Expand Down
Loading