Skip to content

MiMalloc for sqllogictests#20682

Open
blaginin wants to merge 3 commits intomainfrom
db/extended-allocator
Open

MiMalloc for sqllogictests#20682
blaginin wants to merge 3 commits intomainfrom
db/extended-allocator

Conversation

@blaginin
Copy link
Collaborator

@blaginin blaginin commented Mar 3, 2026

@blaginin blaginin self-assigned this Mar 3, 2026
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Mar 3, 2026
@blaginin blaginin marked this pull request as ready for review March 3, 2026 21:39
Copy link
Contributor

@AdamGS AdamGS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, we've also found mimalloc making a huge difference on macos, which I assume is a very popular dev environment

@blaginin blaginin requested a review from Jefffrey March 4, 2026 14:41
@blaginin blaginin requested a review from comphead March 4, 2026 17:42
@github-actions github-actions bot added the development-process Related to development process of DataFusion label Mar 4, 2026
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @blaginin however I'm not sure about mimalloc for tests tbh, we do mimalloc for benchmarks, but tests asserts correctness and mem usage for default user environment which is glibc malloc or musl malloc if we speaking for Linux and providing results from another mem allocator as a source of truth, WDYT?

@blaginin
Copy link
Collaborator Author

blaginin commented Mar 4, 2026

hey @comphead! In this pr i change just sqlogictests, and they don't assert mem usage - just correctness. They're pretty high level so I'd be surprised if the allocator interferes in any way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants