diff --git a/vortex-bench/src/output.rs b/vortex-bench/src/output.rs index 7e8a37b7ad7..fe8897f63f9 100644 --- a/vortex-bench/src/output.rs +++ b/vortex-bench/src/output.rs @@ -82,7 +82,9 @@ impl BenchmarkOutput { /// /// Returns `target/vortex-bench//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. @@ -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") }