Wednesday, December 29, 2010

[Rails] Re: Has anyone benchmark the use of helpers

It might be academic interest, but it is an interesting on, I feel.
Sometimes we accept things too willingly.
Others has said that cacheing
http://guides.rubyonrails.org/caching_with_rails.html
might be more important if speed is important.
I am looking into it.

On Dec 27, 11:12 pm, Marnen Laibow-Koser <li...@ruby-forum.com> wrote:
> Don Mapp wrote in post #970929:
>
> > At the moment I am taking code from my views and putting it into
> > helpers. Great for understanding and maintaining  my views, but using
> > helpers for the same code must take longer to load.
> > Has anyone done any benchmark to see whether it takes microseconds or
> > milliseconds extra to load.
>
> Until it starts slowing down your application unacceptably, the matter
> is only of academic interest.
>
> Best,
> -- 
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
>
> Sent from my iPhone
>
> --
> 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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate