Skip to content

Commit a233c8b

Browse files
committed
fix sort-tpch output format & taplo format
1 parent b9cded9 commit a233c8b

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

benchmarks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ datafusion = { workspace = true, default-features = true }
4141
datafusion-common = { workspace = true, default-features = true }
4242
env_logger = { workspace = true }
4343
futures = { workspace = true }
44+
libmimalloc-sys = { version = "0.1", optional = true }
4445
log = { workspace = true }
4546
mimalloc = { version = "0.1", optional = true, default-features = false }
46-
libmimalloc-sys = { version = "0.1", optional = true }
4747
object_store = { workspace = true }
4848
parquet = { workspace = true, default-features = true }
4949
rand = { workspace = true }

benchmarks/src/sort_tpch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ impl RunOpt {
241241
millis.push(ms);
242242

243243
println!(
244-
"Q{query_id} iteration {i} took {ms:.1} ms and returned {row_count} rows"
244+
"Query {query_id} iteration {i} took {ms:.1} ms and returned {row_count} rows"
245245
);
246246
query_results.push(QueryResult { elapsed, row_count });
247247
}
248248

249249
let avg = millis.iter().sum::<f64>() / millis.len() as f64;
250-
println!("Q{query_id} avg time: {avg:.2} ms");
250+
println!("Query {query_id} avg time: {avg:.2} ms");
251251

252252
// Print memory usage stats using mimalloc (only when compiled with --features mimalloc_extended)
253253
print_memory_stats();

benchmarks/src/util/options.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ pub struct CommonOpt {
6161
/// Activate debug mode to see more details
6262
#[structopt(short, long)]
6363
pub debug: bool,
64-
65-
/// Enable memory profiling to see VmPeak, VmHwm for running benchmark.
66-
/// See more details in TODO
67-
#[structopt(long)]
68-
pub memory_stat_enabled: bool,
6964
}
7065

7166
impl CommonOpt {

0 commit comments

Comments
 (0)