Ruby on Rails Wednesday, September 26, 2012

look at this link.

is in Portuguese, but not it's impossible to understand. :)

http://rrmartins.github.com/blog/2012/09/10/reflexao-e-metaprogramacao-objectspace-e-gc-number-ruby-1-dot-9-part-vii/ 


--
Atenciosamente
___________________________
Rodrigo Martins
www.rrmartins.com

tel: (28) 9882-6202
      (27) 9601-9573
      (21) 9942-2016

 

My profiles: Facebook Twitter
Contact me: Google Talk/ rodrigo@rrmartins.com Skype/ rr_martinsj MSN/ rodrigo@rrmartins.com




2012/9/26 Robert Walker <lists@ruby-forum.com>
venkata reddy wrote in post #1077609:
> Had any one run into performance issues after upgrading to ruby 1.9.3.
> My application was working fine until it was on REE but after up
> gradation it seems to be too slow.  One of the reasons could be
> Garbage collection with ruby, having said that i don't have much idea
> on how to tune it. It might not be the only thing that caused the
> performance issue but i think that is a significant change between REE
> and 1.9.3.

What's the rest of the story?

- What operating system and version are you running?
- What version of Rails are you running? Assuming you're using Rails?
- Are you seeing the problem in development mode or production mode?
- What leads to to believe garbage collection has anything to do with
your problem?
- Have you collected performance metrics that lead you to suspect the
GC?

Generally speaking Ruby 1.9.3 is significantly faster than Ruby 1.8.x,
including REE. I also really doubt the garbage collector has anything to
do with your problem.

Whenever I hear about noticeable performance drops after an upgrade it
generally leads back to something basic, like the OS. For example I, as
do many others, recommend running Ruby on some form of UNIX based OS
(BSD, Linux, Mac, etc.).

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment