summaryrefslogtreecommitdiff
path: root/man/ruby.1
diff options
context:
space:
mode:
authorAaron Patterson <[email protected]>2024-11-01 15:06:35 -0700
committerAaron Patterson <[email protected]>2024-12-12 16:04:49 -0800
commitfffef9aa5d89b6cca3dc634f5278b1fc67fb3d08 ()
tree600f63118e7ef716d183b2894e918febcdeb3c49 /man/ruby.1
parente7ee7d43f3d22f499845ee2c8c420201d6b453a3 (diff)
Add an environment variable for controlling the default Thread quantum
This commit adds an environment variable `RUBY_THREAD_TIMESLICE` for specifying the default thread quantum in milliseconds. You can adjust this variable to tune throughput, which is especially useful on multithreaded systems that are mixing CPU bound work and IO bound work. The default quantum remains 100ms. [Feature #20861] Co-Authored-By: John Hawthorn <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/11981
-rw-r--r--man/ruby.14
1 files changed, 4 insertions, 0 deletions
@@ -537,6 +537,10 @@ Introduced in Ruby 3.3, default: unset.
.Pp
.It Ev RUBY_PAGER
The pager command that will be used for
.Fl -help
option.
Introduced in Ruby 3.0, default: