Skip to content

Commit

Permalink
Use std::thread::available_parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
Dandandan committed Nov 27, 2024
1 parent 131f414 commit 1a2d2b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/src/bin/external_aggr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
//! external_aggr binary entrypoint
use std::collections::HashMap;
use std::num::NonZero;
use std::path::PathBuf;
use std::sync::Arc;
use std::sync::OnceLock;
Expand Down
1 change: 1 addition & 0 deletions benchmarks/src/bin/h2o.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use datafusion::datasource::MemTable;
use datafusion::prelude::CsvReadOptions;
use datafusion::{arrow::util::pretty, error::Result, prelude::SessionContext};
use datafusion_benchmarks::util::BenchmarkRun;
use std::num::NonZero;
use std::path::PathBuf;
use std::sync::Arc;
use std::thread::{self, available_parallelism};
Expand Down

0 comments on commit 1a2d2b7

Please sign in to comment.