There is no telling unless we see your full code, can you post a live
page or at least provide (much) more detail?
Also, have you updated to 1.5.1_rc2? 1.5.1_x contains a rewrite of
Selector which is much faster than before.
Colin
dragons_jobs wrote:> Hi,
>
> I did a simple profiling with fireBug on my javascript and it
> surprised me to find out that calls to this
> "_getElementByXPath()" (from prototype.js) take up about 60% of
the
> total time. My javascript is fairly simple, with
> some Element.down()/next() and some $() and that''s about it. What
do
> you think could have caused
> that seemingly high percentage of time consumed on this procedure??
>
>
> Thanks,
> Calvin
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---