Wins Lin
2013-May-22 19:15 UTC
Is command line Rails also so slow on Linuxes as it is on Windows?
There is a lot of questions on Stackoverflow about how Rails is slow in command line on Windows machines. I use Windows and know that it is true. All Rake tasks, all rails commands are very slow. Especially testing is slow. I can''t test my code as I want because of it. But some people in their answers say that command line Rails is slow only on Windows. On Linuxes it is ok. But before I switch to some Linux (Ubuntu maybe) I''d like to ask if it is true that Rails on Linux is fast. If you have an experience of using Rails on both platforms (Windows and Ubuntu, or some other Linux) please tell me, is it really faster/much faster or the same/almost the same? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f1bc7c659bd5d0b70ddc96d702feb5f2%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Norbert Melzer
2013-May-22 20:23 UTC
Re: Is command line Rails also so slow on Linuxes as it is on Windows?
That depends on your definition of fast and slow… Let''s just say, that I didn''t realize any speedproblems with windows, because years ago many other problems made me switch to linux. With linux I have TAB-complete for rake, rails, rspec, rvm and many other auxiliary tools via zsh-plugins. I never had any problems when I had to compile gems with native extensions (but with windows I had!). But I probably think that some speed isues could be because of the rails version you use. In a german ruby chat it is often mentioned that 1.8 and 1.9 are very slow but 2.0 is faster (but still slower than in linux) 2013/5/22 Wins Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> There is a lot of questions on Stackoverflow about how Rails is slow in > command line on Windows machines. I use Windows and know that it is > true. All Rake tasks, all rails commands are very slow. Especially > testing is slow. I can''t test my code as I want because of it. > > But some people in their answers say that command line Rails is slow > only on Windows. On Linuxes it is ok. But before I switch to some Linux > (Ubuntu maybe) I''d like to ask if it is true that Rails on Linux is > fast. > > If you have an experience of using Rails on both platforms (Windows and > Ubuntu, or some other Linux) please tell me, is it really faster/much > faster or the same/almost the same? > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/f1bc7c659bd5d0b70ddc96d702feb5f2%40ruby-forum.com?hl=en-US > . > 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BbCVsuq%3DVu7-2YWjn5Zz_RwxLDDju5WA5UWnqmkgNXsTbftvA%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
gsw
2013-May-22 21:59 UTC
Re: Is command line Rails also so slow on Linuxes as it is on Windows?
To support what you are saying, there are newer faster versions of Ruby 2 for Windows as mentioned here: http://www.ruby-forum.com/topic/4411307 And Rails 4 is optimized for Ruby 2. It is also possible that if Windows is being run in a VM, that would be slower, or perhaps the hardware it is running on is slower. After trying all of that, you might invest in an SSD and more memory, if you don''t have enough. On Wednesday, May 22, 2013 4:23:32 PM UTC-4, Norbert Melzer wrote:> > That depends on your definition of fast and slow… > > Let''s just say, that I didn''t realize any speedproblems with windows, > because years ago many other problems made me switch to linux. > > With linux I have TAB-complete for rake, rails, rspec, rvm and many other > auxiliary tools via zsh-plugins. I never had any problems when I had to > compile gems with native extensions (but with windows I had!). > > But I probably think that some speed isues could be because of the rails > version you use. In a german ruby chat it is often mentioned that 1.8 and > 1.9 are very slow but 2.0 is faster (but still slower than in linux) > > > 2013/5/22 Wins Lin <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org <javascript:>> > >> There is a lot of questions on Stackoverflow about how Rails is slow in >> command line on Windows machines. I use Windows and know that it is >> true. All Rake tasks, all rails commands are very slow. Especially >> testing is slow. I can''t test my code as I want because of it. >> >> But some people in their answers say that command line Rails is slow >> only on Windows. On Linuxes it is ok. But before I switch to some Linux >> (Ubuntu maybe) I''d like to ask if it is true that Rails on Linux is >> fast. >> >> If you have an experience of using Rails on both platforms (Windows and >> Ubuntu, or some other Linux) please tell me, is it really faster/much >> faster or the same/almost the same? >> >> -- >> 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 unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-ta...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. >> To post to this group, send email to rubyonra...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:> >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/rubyonrails-talk/f1bc7c659bd5d0b70ddc96d702feb5f2%40ruby-forum.com?hl=en-US >> . >> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3b9ac44c-1a66-4a1f-9f33-37423a136eed%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.