I removed the inclusion of medias when calling genres which has sped things up immensely, so whatever it was, was related to that.
Sent from my iPhone On 25/05/2011, at 5:53 PM, Tim Koopmans <[email protected]> wrote: >> I'm not totally sure where the discrepancy is coming from, but >> serialising and sending 250k of json will take a while no matter what >> :) > > > Even still, 250KB to_json doesn't account for the 0.95s (1.4 - 0.3 - > .15) spark gap. By my reckoning, converting a 250KB obj.to_json should > only take 4ms ... > https://gist.github.com/988337 > > Looking at chrome dev tools, I was seeing 2s latency (waiting) for > first byte from the server. Something smells funny =) > > Cheers, > Tim > @90kts > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
