Actions
Feature #22503
closedAdd --with-mimalloc to win32/configure.bat
Feature #22503:
Add --with-mimalloc to win32/configure.bat
Description
I'd like to add an opt-in --with-mimalloc option to win32/configure.bat. With it, only the default GC allocates with mimalloc, and the rest of the process keeps the CRT heap. The default build is unchanged.
On ruby-bench, the headline benchmarks take 0.948x the time with YJIT and 0.965x on the interpreter, compared with the same build without the option. That is about 5% and 3.5% faster overall, and about 4% in both modes across all 77 benchmarks. protoboeuf-encode and splay get slower.
mimalloc is installed by vcpkg as an optional feature of vcpkg.json. A new Windows CI job builds Ruby with clang-cl, YJIT and mimalloc.
Updated by hsbt (Hiroshi SHIBATA) 12 days ago
- Status changed from Open to Closed
Actions