瀏覽代碼

[ruby] Remove RUBY_THREAD_TIMESLICE variable (#10374)

This setting seems to improve performance so I'd like to enable it for a
lot more frameworks. By removing it this run and enabling it for all
next run, we can have a better comparison.
Petrik de Heus 1 周之前
父節點
當前提交
760710eb71
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      frameworks/Ruby/rack/rack.dockerfile
  2. 0 1
      frameworks/Ruby/roda-sequel/roda-sequel.dockerfile

+ 0 - 1
frameworks/Ruby/rack/rack.dockerfile

@@ -1,7 +1,6 @@
 FROM ruby:4.0-rc
 FROM ruby:4.0-rc
 
 
 ENV RUBY_YJIT_ENABLE=1
 ENV RUBY_YJIT_ENABLE=1
-ENV RUBY_THREAD_TIMESLICE=10
 
 
 # Use Jemalloc
 # Use Jemalloc
 RUN apt-get update && \
 RUN apt-get update && \

+ 0 - 1
frameworks/Ruby/roda-sequel/roda-sequel.dockerfile

@@ -4,7 +4,6 @@ ADD ./ /roda-sequel
 WORKDIR /roda-sequel
 WORKDIR /roda-sequel
 
 
 ENV RUBY_YJIT_ENABLE=1
 ENV RUBY_YJIT_ENABLE=1
-ENV RUBY_THREAD_TIMESLICE=10
 
 
 # Use Jemalloc
 # Use Jemalloc
 RUN apt-get update && \
 RUN apt-get update && \