The tablesort Javascript might also contribute to the delay since it must 
build 23 indexes (assuming it makes indexes, which it might not).

I would rethink whether having such a huge number of records instantly 
sortable on every column is really called for. I have had clients ask for 
similar displays and when we get into what they really want to do we find 
their need can be met with something not nearly so bandwidth, memory, and 
compute intensive.

-Scott

On Wednesday, March 13, 2013 12:02:39 PM UTC-7, KT wrote:
>
> Hi all - can anyone tell me what I'm doing so wrong that it takes 7-9 
> minutes to load this form view?
>
>
> https://github.com/sdstoic/vits/blob/master/app/views/po_renewals/index.html.erb
>
> The table holds about 2700 records, and has many columns, but still... 
> should it take that long?
>
> Ruby 1.9.3 / Rails 3.0.3
> Apache / Passenger / MySQL
>
> Thanks in advance for any help.
> Katie
>

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to