Ruby Shopify / yjit - Optimizing JIT compiler built inside CRuby

koell · May 17, 2021 · Last by koell replied at September 29, 2021 · 565 hits

https://github.com/Shopify/yjit

rvm 用户

sudo apt-get install sqlite3 libsqlite3-dev
git clone https://github.com/Shopify/yjit.git yjit
cd yjit
./autogen.sh
./configure --disable-install-doc --disable--install-rdoc --prefix=$HOME/.rvm/rubies/ruby-yjit
make -j16 install

# rvm
rvm use ruby-yjit --create

https://bugs.ruby-lang.org/issues/18229

activerecord: 1.37x

Kokubun's railsbench: 1.16x

3 个月竟然提升这么多

You need to Sign in before reply, if you don't have an account, please Sign up first.