I don''t really want this to turn into a heated discussion, Im just trying to figure out if Im somehow missing any dependencies or tweaks. I have a very beef dual dual-core computer with 4 gbs of ram, 500gb, and a really good video card. Yet, when Im starting/stopping my development server, or clicking through controller actions, it is very slow. To give you an idea of how slow, my coworker has an equivalent mac desktop, which runs things about THREE times fast, thats including migrations, bootup, controller actions. Is there something about the ruby interpreter on windows that makes things so slow. Aryk -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Oct 4, 8:39 pm, Aryk Grosz <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I don''t really want this to turn into a heated discussion, Im just > trying to figure out if Im somehow missing any dependencies or tweaks. > > I have a very beef dual dual-core computer with 4 gbs of ram, 500gb, and > a really good video card. > > Yet, when Im starting/stopping my development server, or clicking > through controller actions, it is very slow. > > To give you an idea of how slow, my coworker has an equivalent mac > desktop, which runs things about THREE times fast, thats including > migrations, bootup, controller actions. > > Is there something about the ruby interpreter on windows that makes > things so slow. >Ruby is known for being slower on window than on *nix like platforms. No idea why. Fred> Aryk > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Someone with far more technical knowledge of the inner workings of both Windows and *nix would have to speak, but most people I have spoken to recommend doing development on even a virtual Linux box because many of the tools you will use "just work" better on Linux than they do on Windows. On Oct 4, 2:44 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Oct 4, 8:39 pm, Aryk Grosz <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > I don''t really want this to turn into a heated discussion, Im just > > trying to figure out if Im somehow missing any dependencies or tweaks. > > > I have a very beef dual dual-core computer with 4 gbs of ram, 500gb, and > > a really good video card. > > > Yet, when Im starting/stopping my development server, or clicking > > through controller actions, it is very slow. > > > To give you an idea of how slow, my coworker has an equivalent mac > > desktop, which runs things about THREE times fast, thats including > > migrations, bootup, controller actions. > > > Is there something about the ruby interpreter on windows that makes > > things so slow. > > Ruby is known for being slower on window than on *nix like platforms. > No idea why. > > Fred > > > Aryk > > -- > > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
If you go through Deploying Rails Applications book, the authors go on record to say that Ruby/Rails is about 3 times slower on Windows than Unix/Linux on comparable boxes. So your experience is in line with that. I have a Windows XP laptop with 4 Gig of RAM and two older laptops with Ubuntu Linux 7.10 installed on them with only 1 Gig RAM. They execute Rails code faster than the newer Windows laptop with 4 times as much memory. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It''s said that rails was not too slow before 1.2.3, however, after then, the speed especially the startup time became rather slow. On Oct 5, 8:26 pm, Bharat <bcrupa...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> If you go through Deploying Rails Applications book, the authors go on > record to say that Ruby/Rails is about 3 times slower on Windows than > Unix/Linux on comparable boxes. So your experience is in line with > that. > I have a Windows XP laptop with 4 Gig of RAM and two older laptops > with Ubuntu Linux 7.10 installed on them with only 1 Gig RAM. They > execute Rails code faster than the newer Windows laptop with 4 times > as much memory.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
where is it said that On Sun, Oct 5, 2008 at 4:17 PM, swachian <zhangyu34-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > It''s said that rails was not too slow before 1.2.3, however, after > then, the speed especially the startup time became rather slow. > > On Oct 5, 8:26 pm, Bharat <bcrupa...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: >> If you go through Deploying Rails Applications book, the authors go on >> record to say that Ruby/Rails is about 3 times slower on Windows than >> Unix/Linux on comparable boxes. So your experience is in line with >> that. >> I have a Windows XP laptop with 4 Gig of RAM and two older laptops >> with Ubuntu Linux 7.10 installed on them with only 1 Gig RAM. They >> execute Rails code faster than the newer Windows laptop with 4 times >> as much memory. > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pratik Naik wrote:> where is it said that >I think he is talking about his own experience, not about the book. My personal tests: running rake or any ruby is much faster on my old iBook with Tiger than on my Windows XP box with an Intel Core2Duo E6300. I won''t even talk about running autotest on my windows box. "Innovation" as they call it... -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve had much the same experience. I won''t even do development work on my work box anymore because I am forced to use Windows XP there. I have a cheap IBM ThinkPad I do most of my developer work with and I have Ubuntu 8.04.1 loaded onto it. On Oct 5, 11:04 am, Fernando Perez <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Pratik Naik wrote: > > where is it said that > > I think he is talking about his own experience, not about the book. > > My personal tests: running rake or any ruby is much faster on my old > iBook with Tiger than on my Windows XP box with an Intel Core2Duo E6300. > I won''t even talk about running autotest on my windows box. "Innovation" > as they call it... > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Page 187. On Sun, Oct 5, 2008 at 12:19 PM, Pratik <pratiknaik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > where is it said that > > On Sun, Oct 5, 2008 at 4:17 PM, swachian <zhangyu34-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> It''s said that rails was not too slow before 1.2.3, however, after >> then, the speed especially the startup time became rather slow. >> >> On Oct 5, 8:26 pm, Bharat <bcrupa...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: >>> If you go through Deploying Rails Applications book, the authors go on >>> record to say that Ruby/Rails is about 3 times slower on Windows than >>> Unix/Linux on comparable boxes. So your experience is in line with >>> that. >>> I have a Windows XP laptop with 4 Gig of RAM and two older laptops >>> with Ubuntu Linux 7.10 installed on them with only 1 Gig RAM. They >>> execute Rails code faster than the newer Windows laptop with 4 times >>> as much memory. >> > >> > > > > -- > Cheers! > - Pratik > http://m.onkey.org > > > >-- Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) João Pessoa, PB, +55 83 8867-7208 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Guys, Thanks a TON for your input. Now I know Im not alone. Im going to look into developing on mac instead of windows just because of this speed issue. Would I be right in saying that mac''s are on par in speed as unix running RoR? Thats been my observation, especially with beefier mac desktops. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Oct 5, 7:52 pm, Aryk Grosz <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Guys, > > Thanks a TON for your input. Now I know Im not alone. Im going to look > into developing on mac instead of windows just because of this speed > issue.You would not be alone in that either. Many people develop Rails on Macs, I did for a while until finances came into play, but you will not be disappointed.> Would I be right in saying that mac''s are on par in speed as unix > running RoR? Thats been my observation, especially with beefier mac > desktops.Yes, I believe you would. Enjoy, but I would recommend maybe trying out one of the newer Linux desktops as well. There might be a learning curve, but it would at least give you a free alternative to try out before taking the plunge. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Aryk Grosz wrote:> Guys, > > Thanks a TON for your input. Now I know Im not alone. Im going to look > into developing on mac instead of windows just because of this speed > issue. > > Would I be right in saying that mac''s are on par in speed as unix > running RoR? Thats been my observation, especially with beefier mac > desktops.Also remember that Macs have the fantastic TextMate editor! -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Im going to look > into developing on mac instead of windows just because of this speed > issue.Yes, please. My apple shares ... Oh dear, I don''t even want to think about it. Some viral marketing definitely helps. Real man use linux though. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Ruby is known for being slower on window than on *nix like platforms. > No idea why. > > Fredwould still be interested whether this a windows(slow I/O?) or ruby/ rails@windows problem? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> would still be interested whether this a windows(slow I/O?) or ruby/ > rails@windows problem?I''d vote that Windows is the slow component. I was dual booting XP Pro and Ubuntu 7.10 for a while, and just sourcing a big database in MySQL was 25 minutes in Windows, 7 minutes in Ubuntu on the same physical hardware. Ruby on windows still has to play by the Windows rules, so it may in fact be slower than ruby on *nix/Mac, but not due to its own faults. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m the one who went on record in "Deploying Rails Applications". Rails isn''t slow on Windows - Ruby is. It was horribly slow almost four years ago when I started, and it''s slow now, although it''s faster because our CPUs have gotten faster. I spent a good majority of my Rails career working on the Windows platform but have since switched to Mac for most things. When I go back to the Windows environment, it''s quite noticeable. A long time ago, it was explained to me that the compiler used to build Ruby for Windows has some limitations. I''m being intentionally vague here because I can''t remember who said it so I can''t really back that up, I understand that the maintainers of the One Click Ruby Installer are making some nice improvements in performance in some of the test releases out there, so there''s hope. But to the OP, it''s definitely a Ruby on Windows thing, and it''s a little sad because it makes converting people much more difficult, and where it really hurts is in testing. People stop running rake test:units or rake spec because it''s terribly slow. The situation gets better all the time though, as talented Rubyists get involved and improve the performance for the Windows users. I personally find Mac the best environment to work on, but Ubuntu is fabulous as well. Sadly enough, even VMWare with an Ubuntu insallation running on top of Windows runs Ruby faster than Windows itself. VMWare + smb mounting can be an interesting way to develop Rails if you can''t move off of Windows :) (Way more work than it should be though.) On Thu, Oct 16, 2008 at 2:56 PM, Ar Chron <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > > would still be interested whether this a windows(slow I/O?) or ruby/ > > rails@windows problem? > > I''d vote that Windows is the slow component. I was dual booting XP Pro > and Ubuntu 7.10 for a while, and just sourcing a big database in MySQL > was 25 minutes in Windows, 7 minutes in Ubuntu on the same physical > hardware. > > Ruby on windows still has to play by the Windows rules, so it may in > fact be slower than ruby on *nix/Mac, but not due to its own faults. > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
With the release of rails 2.2.2, the speed hit was huge. On my PC, running rails 2.0.2, it took about 10 seconds to run one of the unit tests (most of the time loading the environment). On 2.2.2, it is now taking about 30 seconds, a 3x slowdown. I''m guessing it''s because rails is now much fatter, so loading everything in is that much slower. In contrast, it takes 3 seconds on an ubuntu box running 2.2.2. Sigh... -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Cause Bill and Ballmer are fatter then Jobs :P On Wed, Dec 10, 2008 at 4:10 AM, Jurket Largit < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > With the release of rails 2.2.2, the speed hit was huge. On my PC, > running rails 2.0.2, it took about 10 seconds to run one of the unit > tests (most of the time loading the environment). > > On 2.2.2, it is now taking about 30 seconds, a 3x slowdown. I''m guessing > it''s because rails is now much fatter, so loading everything in is that > much slower. > > In contrast, it takes 3 seconds on an ubuntu box running 2.2.2. Sigh... > -- > Posted via http://www.ruby-forum.com/. > > > >-- TWRUG Blog: http://blog.rubyonrails.org.tw CFC on Rails: http://zusocfc.blogspot.com Only two surfaces of a box: http://blog.pixnet.net/zusocfc --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---