vecnet / dl-discovery

Map based discovery interface for digital library records
Other
4 stars 3 forks source link

Main page takes 4 seconds to display #108

Open dbrower opened 9 years ago

dbrower commented 9 years ago

It seems like the hierarchical facets are the cause of it. Here is a log excerpt

I, [2015-08-26T05:50:43.381265 #18268]  INFO -- : Started GET "/" for XXX.XXX.69.64 at 2015-08-26 05:50:43 -0400
I, [2015-08-26T05:50:43.383856 #18268]  INFO -- : Processing by CatalogController#index as HTML
I, [2015-08-26T05:50:43.833959 #18268]  INFO -- :   Rendered catalog/_did_you_mean.html.erb (0.2ms)
I, [2015-08-26T05:50:43.834459 #18268]  INFO -- :   Rendered catalog/_constraints.html.erb (0.2ms)
I, [2015-08-26T05:50:44.102055 #18268]  INFO -- :   Rendered catalog/_facet_limit.html.erb (13.2ms)
I, [2015-08-26T05:50:44.109902 #18268]  INFO -- :   Rendered catalog/_facet_limit.html.erb (7.4ms)
I, [2015-08-26T05:50:44.121154 #18268]  INFO -- :   Rendered catalog/_facet_limit.html.erb (10.9ms)
I, [2015-08-26T05:50:44.132895 #18268]  INFO -- :   Rendered catalog/_facet_limit.html.erb (11.4ms)
I, [2015-08-26T05:50:44.140505 #18268]  INFO -- :   Rendered catalog/_facet_limit.html.erb (7.3ms)
I, [2015-08-26T05:50:44.145314 #18268]  INFO -- :   Rendered catalog/_facet_limit.html.erb (4.5ms)
I, [2015-08-26T05:50:46.653081 #18268]  INFO -- :   Rendered /opt/vecnet-discovery/shared/bundle/ruby/2.0.0/gems/blacklight-hierarchy-0.1.1/app/views/blacklight/hierarchy/_facet_hierarchy.html.erb (2507.4ms)
I, [2015-08-26T05:50:46.886249 #18268]  INFO -- :   Rendered /opt/vecnet-discovery/shared/bundle/ruby/2.0.0/gems/blacklight-hierarchy-0.1.1/app/views/blacklight/hierarchy/_facet_hierarchy.html.erb (232.6ms)
I, [2015-08-26T05:50:47.904133 #18268]  INFO -- :   Rendered /opt/vecnet-discovery/shared/bundle/ruby/2.0.0/gems/blacklight-hierarchy-0.1.1/app/views/blacklight/hierarchy/_facet_hierarchy.html.erb (1017.4ms)
I, [2015-08-26T05:50:47.904544 #18268]  INFO -- :   Rendered catalog/_facets.html.erb (4069.9ms)
I, [2015-08-26T05:50:47.905067 #18268]  INFO -- :   Rendered catalog/_sort_and_per_page.html.erb (0.2ms)
I, [2015-08-26T05:50:47.905181 #18268]  INFO -- :   Rendered catalog/_vndl_search_form.html.erb (4071.7ms)
I, [2015-08-26T05:50:47.905500 #18268]  INFO -- :   Rendered catalog/_example_front_page_text.html.erb (0.1ms)
I, [2015-08-26T05:50:47.906334 #18268]  INFO -- :   Rendered shared/_vndl_footer.html.erb (0.6ms)
I, [2015-08-26T05:50:47.906457 #18268]  INFO -- :   Rendered catalog/_home_text.html.erb (4073.2ms)
I, [2015-08-26T05:50:47.906567 #18268]  INFO -- :   Rendered /opt/vecnet-discovery/shared/bundle/ruby/2.0.0/gems/blacklight-5.12.1/app/views/catalog/_home.html.erb (4073.5ms)
I, [2015-08-26T05:50:47.906725 #18268]  INFO -- :   Rendered catalog/index.html.erb within layouts/vndl (4073.9ms)
I, [2015-08-26T05:50:47.909683 #18268]  INFO -- :   Rendered shared/_user_util_links.html.erb (1.1ms)
I, [2015-08-26T05:50:47.909826 #18268]  INFO -- :   Rendered shared/_header_navbar.html.erb (1.7ms)
I, [2015-08-26T05:50:47.910125 #18268]  INFO -- :   Rendered /opt/vecnet-discovery/shared/bundle/ruby/2.0.0/gems/blacklight-5.12.1/app/views/shared/_ajax_modal.html.erb (0.1ms)
I, [2015-08-26T05:50:47.910709 #18268]  INFO -- :   Rendered /opt/vecnet-discovery/shared/bundle/ruby/2.0.0/gems/blacklight-5.12.1/app/views/_flash_msg.html.erb (0.3ms)
I, [2015-08-26T05:50:47.911420 #18268]  INFO -- : Completed 200 OK in 4527ms (Views: 4079.3ms | ActiveRecord: 0.0ms)
dbrower commented 9 years ago

Also, the hierarchical facets don't seem to be working.