Ruby with jemalloc
By Ryan Romanchuk
On
On
Determine if binary was built with jemalloc
ruby -r rbconfig -e "puts RbConfig::CONFIG['MAINLIBS']"
-lpthread -ljemalloc -lgmp -ldl -lobjc
Build with jeamalloc
sudo apt install libjemalloc-dev rust -y
git -C ~/.rbenv/plugins/ruby-build pull
RUBY_CONFIGURE_OPTS="--with-jemalloc --enable-yjit --disable-install-doc" rbenv install 3.1.2