ruby/man
Misaki Shioi 9f924e2f13
Improve APIs for Globally Enabling/Disabling fast_fallback in Socket (#12257)
This change includes the following updates:
- Added an environment variable `RUBY_TCP_NO_FAST_FALLBACK` to control enabling/disabling fast_fallback
- Updated documentation and man pages
- Revised the implementation of Socket.tcp_fast_fallback= and Socket.tcp_fast_fallback, which previously performed dynamic name resolution of constants and variables. As a result, the following performance improvements were achieved:

(Case of 1000 executions of `TCPSocket.new` to the local host)

Rehearsal -----------------------------------------
before   0.031462   0.147946   0.179408 (  0.249279)
after    0.031164   0.146839   0.178003 (  0.346935)
-------------------------------- total: 0.178003sec

            user     system      total        real
before   0.027584   0.138712   0.166296 (  0.233356)
after    0.025953   0.127608   0.153561 (  0.237971)
2024-12-14 15:51:19 +09:00
..
erb.1
goruby.1
index.txt [bundler/bundler] Commit man pages to source control 2019-08-16 14:30:23 +09:00
irb.1 [ruby/irb] Complete the missing documentation abount the environment 2024-11-19 13:13:20 +00:00
ri.1
ruby.1 Improve APIs for Globally Enabling/Disabling fast_fallback in Socket (#12257) 2024-12-14 15:51:19 +09:00