[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66353] [ruby-trunk - Bug #10511] fix for #9940 causes dramatic performance regression
From:
ko1@...
Date:
2014-11-18 22:22:40 UTC
List:
ruby-core #66353
Issue #10511 has been updated by Koichi Sasada. ``` ruby 2.2.0dev (2014-11-17 trunk 48465) [i386-mswin32_110] 21.466000 0.000000 21.466000 ( 21.572857) ruby 2.0.0p402 (2014-02-11 revision 44911) [i386-mswin32_110] 13.634000 0.000000 13.634000 ( 13.737744) ``` I try on my laptop. hmm... ---------------------------------------- Bug #10511: fix for #9940 causes dramatic performance regression https://bugs.ruby-lang.org/issues/10511#change-50005 * Author: Oleg Sukhodolsky * Status: Open * Priority: Normal * Assignee: * Category: core * Target version: * ruby -v: ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Originally reported against debase gem (https://github.com/denofevil/debase/issues/16) After fix for #9940 running anything under debugger became about 4 times slower. I've verified that we I revert the fix performance is restored. To reproduce you could get https://github.com/railstutorial/sample_app_rails_4 and run rspec rake task under debugger (I've used RubyMine for this because debase is used as debugger's backend there) Performance with 2.1.2 it takes about 20 seconds on my laptop, with 2.1.3 - almost 80 seconds :( The same problem is observable with 2.1.4 and 2.1.5 too. -- https://bugs.ruby-lang.org/