This is an automated email from the ASF dual-hosted git repository. blaginin pushed a commit to branch db/extended-allocator in repository https://gitbox.apache.org/repos/asf/datafusion.git
commit 016dde2652f0caccfb631eca739e1a8e6c9b6874 Author: blaginin <[email protected]> AuthorDate: Tue Mar 3 18:59:09 2026 +0000 `MiMalloc` for `sqllogictests`? --- Cargo.lock | 1 + datafusion/sqllogictest/Cargo.toml | 1 + datafusion/sqllogictest/bin/sqllogictests.rs | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 23670a7877..4428392991 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2646,6 +2646,7 @@ dependencies = [ "indicatif", "itertools 0.14.0", "log", + "mimalloc", "object_store", "postgres-types", "regex", diff --git a/datafusion/sqllogictest/Cargo.toml b/datafusion/sqllogictest/Cargo.toml index b00fbe4667..8f3d1eccb9 100644 --- a/datafusion/sqllogictest/Cargo.toml +++ b/datafusion/sqllogictest/Cargo.toml @@ -53,6 +53,7 @@ futures = { workspace = true } half = { workspace = true, default-features = true } indicatif = "0.18" itertools = { workspace = true } +mimalloc = { version = "0.1", default-features = false } log = { workspace = true } object_store = { workspace = true } postgres-types = { version = "0.2.12", features = ["derive", "with-chrono-0_4"], optional = true } diff --git a/datafusion/sqllogictest/bin/sqllogictests.rs b/datafusion/sqllogictest/bin/sqllogictests.rs index b5a382ca6a..2980f813ac 100644 --- a/datafusion/sqllogictest/bin/sqllogictests.rs +++ b/datafusion/sqllogictest/bin/sqllogictests.rs @@ -15,6 +15,11 @@ // specific language governing permissions and limitations // under the License. +use mimalloc::MiMalloc; + +#[global_allocator] +static GLOBAL: MiMalloc = MiMalloc; + use clap::{ColorChoice, Parser, ValueEnum}; use datafusion::common::instant::Instant; use datafusion::common::utils::get_available_parallelism; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
