I am trying to understand the last line from an action log in development mode. I have the following line and understand the view and DB as the length of time it takes to process the view and the db access. But what is the rest of the time? Completed in 923ms (View: 220, DB: 45) | 200 OK [http://localhost:3000/ properties/2-hale-kamaole] I get 265 ms but the total is 923ms. a long time. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Completed in 923ms (View: 220, DB: 45) | 200 OK 923 is total time it took since the request arrived untill it was cmpletely served. 220 is how long it took to process the view 45 is the time the db took 200 is not a time is the HTTP header (200 means its all good to go, 404 means its not ... etc) On Mar 17, 7:09 am, Don French <dhf0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to understand the last line from an action log in > development mode. I have the following line and understand the view > and DB as the length of time it takes to process the view and the db > access. But what is the rest of the time? > > Completed in 923ms (View: 220, DB: 45) | 200 OK [http://localhost:3000/ > properties/2-hale-kamaole] > > I get 265 ms but the total is 923ms. a long time.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
So sory! i didnt read that last line! Didnt mean to be so obvious. there are more factors to completing a request than view and db (such as watiting time). and if you do the same test on a heavily loaded machine, it would take longer. On Mar 17, 7:09 am, Don French <dhf0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to understand the last line from an action log in > development mode. I have the following line and understand the view > and DB as the length of time it takes to process the view and the db > access. But what is the rest of the time? > > Completed in 923ms (View: 220, DB: 45) | 200 OK [http://localhost:3000/ > properties/2-hale-kamaole] > > I get 265 ms but the total is 923ms. a long time.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Mon, Mar 16, 2009 at 11:09 PM, Don French <dhf0820-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I am trying to understand the last line from an action log in > development mode. I have the following line and understand the view > and DB as the length of time it takes to process the view and the db > access. But what is the rest of the time? > > Completed in 923ms (View: 220, DB: 45) | 200 OK [http://localhost:3000/ > properties/2-hale-kamaole] > > I get 265 ms but the total is 923ms. a long time. > >You try running that request several times using ''ab'' on your localhost and see how that number compares to the measurement above. -Conrad> > > > >--~--~---------~--~----~------------~-------~--~----~ 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 Mar 17, 6:09 am, Don French <dhf0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to understand the last line from an action log in > development mode. I have the following line and understand the view > and DB as the length of time it takes to process the view and the db > access. But what is the rest of the time? > > Completed in 923ms (View: 220, DB: 45) | 200 OK [http://localhost:3000/ > properties/2-hale-kamaole] > > I get 265 ms but the total is 923ms. a long time.Controller code, model code that didn''t hit the database etc... In development there''s also all the reloading of your source code. Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Waiting time? What waiting time? I have run the test many times and most are in this range. I am trying to figure out why it is taking so long to complete. The current time is unacceptable. On Mar 16, 11:06 pm, "\"Wolas!\"" <jcpen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> So sory! i didnt read that last line! Didnt mean to be so obvious. > > there are more factors to completing a request than view and db (such > as watiting time). and if you do the same test on a heavily loaded > machine, it would take longer. >> > I get 265 ms but the total is 923ms. a long time.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Without exact code posted it is hard to know why your setup is slow. I do agree hoever tht your numbers seem higher than "usual". On Mar 17, 10:26 am, Don French <dhf0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Waiting time? What waiting time? I have run the test many times and > most are in this range. I am trying to figure out why it is taking so > long to complete. The current time is unacceptable. > > On Mar 16, 11:06 pm, "\"Wolas!\"" <jcpen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > So sory! i didnt read that last line! Didnt mean to be so obvious. > > > there are more factors to completing a request than view and db (such > > as watiting time). and if you do the same test on a heavily loaded > > machine, it would take longer. > > > > I get 265 ms but the total is 923ms. a long time.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---