Play around with yjit #12

Closed
atomaka wants to merge 3 commits from yjit into main
2 changed files with 8 additions and 1 deletions

View file

@ -55,7 +55,8 @@ RUN useradd rails --create-home --shell /bin/bash && \
chown -R rails:rails db log storage tmp chown -R rails:rails db log storage tmp
USER rails:rails USER rails:rails
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 ENV LD_PRELOAD=libjemalloc.so.2 \
RUBY_YJIT_ENABLE="1"
# Entrypoint prepares the database. # Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint"] ENTRYPOINT ["/rails/bin/docker-entrypoint"]

View file

@ -145,6 +145,8 @@ GEM
net-smtp (0.4.0.1) net-smtp (0.4.0.1)
net-protocol net-protocol
nio4r (2.7.0) nio4r (2.7.0)
nokogiri (1.16.0-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.0-arm64-darwin) nokogiri (1.16.0-arm64-darwin)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.16.0-x86_64-linux) nokogiri (1.16.0-x86_64-linux)
@ -234,6 +236,7 @@ GEM
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sqlite3 (1.7.1-aarch64-linux)
sqlite3 (1.7.1-arm64-darwin) sqlite3 (1.7.1-arm64-darwin)
sqlite3 (1.7.1-x86_64-linux) sqlite3 (1.7.1-x86_64-linux)
standard (1.33.0) standard (1.33.0)
@ -251,6 +254,8 @@ GEM
stimulus-rails (1.3.3) stimulus-rails (1.3.3)
railties (>= 6.0.0) railties (>= 6.0.0)
stringio (3.1.0) stringio (3.1.0)
tailwindcss-rails (2.3.0-aarch64-linux)
railties (>= 6.0.0)
tailwindcss-rails (2.3.0-arm64-darwin) tailwindcss-rails (2.3.0-arm64-darwin)
railties (>= 6.0.0) railties (>= 6.0.0)
tailwindcss-rails (2.3.0-x86_64-linux) tailwindcss-rails (2.3.0-x86_64-linux)
@ -283,6 +288,7 @@ GEM
zeitwerk (2.6.12) zeitwerk (2.6.12)
PLATFORMS PLATFORMS
aarch64-linux
arm64-darwin-23 arm64-darwin-23
x86_64-linux x86_64-linux