[#100689] [Ruby master Feature#17303] Make webrick to bundled gems or remove from stdlib — hsbt@...
Issue #17303 has been reported by hsbt (Hiroshi SHIBATA).
11 messages
2020/11/02
[#100852] [Ruby master Feature#17326] Add Kernel#must! to the standard library — zimmerman.jake@...
SXNzdWUgIzE3MzI2IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGpleiAoSmFrZSBaaW1tZXJtYW4pLg0K
24 messages
2020/11/14
[#100930] [Ruby master Feature#17333] Enumerable#many? — masafumi.o1988@...
Issue #17333 has been reported by okuramasafumi (Masafumi OKURA).
10 messages
2020/11/18
[#101071] [Ruby master Feature#17342] Hash#fetch_set — hunter_spawn@...
Issue #17342 has been reported by MaxLap (Maxime Lapointe).
26 messages
2020/11/25
[ruby-core:101148] [Ruby master Bug#17335] load gem in ruby 2.6.6 extremely slow
From:
merch-redmine@...
Date:
2020-11-30 03:17:11 UTC
List:
ruby-core #101148
Issue #17335 has been updated by jeremyevans0 (Jeremy Evans).
Status changed from Feedback to Third Party's Issue
paulHu (paul hu) wrote in #note-4:
> could someone please have a look at this?
From your own analysis, the problem seems to be in tk. I can replicate your issue:
```
$ time ruby -rsequel -rtk -e '1'
0m02.37s real 0m00.34s user 0m00.08s system
$ time ruby -rtk -rsequel -e '1'
0m09.37s real 0m00.19s user 0m00.08s system
```
However, tk is not in the standard library in any supported version of Ruby. You should file an issue in the ruby-tk bug tracker: https://github.com/ruby/tk/pulls
The simplest workaround would be to require tk after all other libraries.
----------------------------------------
Bug #17335: load gem in ruby 2.6.6 extremely slow
https://bugs.ruby-lang.org/issues/17335#change-88833
* Author: paulHu (paul hu)
* Status: Third Party's Issue
* Priority: Normal
* ruby -v: ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
my ruby app starts up extremely slow after I upgrade from ruby version 2.3.1 to 2.7.2. My app does load quite some gems (using "require") at startup. Following code would take 29 secs on my windows 10 PC.
puts Time.now.to_s + ' require starts'
require 'net/ssh'
require 'tk'
require 'tkextlib/tile'
require 'thread'
require 'json'
require 'io/console'
require 'csv'
require 'tkextlib/tcllib/plotchart'
require 'tkextlib/tktable'
require 'socket'
require 'tkextlib/tcllib.rb'
require 'rubyXL'
require 'rubyXL/convenience_methods'
puts Time.now.to_s + ' require ends'
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>