You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how relevant the differences between the allocators are in the context of Foundry but it could be worth benchmarking them. Given that Foundry ships as a unified toolset rather than an SDK I would prefer we consolidate on one. The tracy allocator could be of use.
In Solar, I've found that mimalloc is on-par or faster than jemalloc while being smaller in binary size and faster to compile. Other allocators were generally than these two.
We should add mimalloc as an non-default option, and tracy-allocator.
Definitely worth benchmarking at least mimalloc before changing any defaults.
Component
Other (please describe)
Describe the feature you would like
Following #10523 (abstract global allocator in
foundry-cli
), we could extend the allocator module to support multiple allocators and tracing.Proposed Changes
Add support for multiple allocators:
jemalloc
(current)mimalloc
snmalloc
New feature flags:
Questions
tracy-allocator
feature?I would like to be assigned to implement this feature if the team considers it valuable.
References
The text was updated successfully, but these errors were encountered: