Browser freezes while creating the view

cmrabet - September 28, 2009 - 10:38
Project:DraggableViews
Version:6.x-3.x-dev
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I have a tree structure of 120 nodes, 2 layers.

The view takes too long to draw itself, actually I tried this in IE, Firefox, and Chrome and it takes about 4 minutes to draw all the tree, making the browser to warn about a js script (jquery) that looks to be freezed. Aftet this time eveything is correctly displayed on the screen, but whenever I click on the arrows to expland or collapse, it takes the same amount of time to re-order the view.

I am using the latest version of Drupal 6. For this module I tried with both last release and last devel versions, and the result is the same.

Is this a limitation issue with the module itself or with my local installation.

Thanks.

#1

cmrabet - September 28, 2009 - 10:39
Title:Browser freezes while creating the viewo » Browser freezes while creating the view

#2

cmrabet - September 28, 2009 - 10:40
Assigned to:cmrabet» Anonymous

#3

sevi - September 28, 2009 - 18:33

I've created a big view http://sevi.zites.net/drupal/big for testing.
The page needs approximately 13 seconds to apply all javascript behaviours. For 1 out of 6 loads a the browser freezes and a javascript-warning-message pops up.

After the page is loaded I can drag, expand and collapse nodes immediately (600 milliseconds slower than expected).

I'm using a MacBook Pro, 2,53GHz, 4GB RAM; Mac OS X Snow Leopard, Firefox 3.5.3.

I guess it is the expand/collapse javascript of DraggableViews that slows things down. When I disable expand/collapse (Show expand Links=No), see http://sevi.zites.net/drupal/big2, the page and the javascript tabledrag behaviour loads within 4 seconds.

Try to disable expand/collapse on your site too. The expand/collapse javascript probably could be improved one day to gain more performance.

EDIT: From 2 to 4 seconds.

#4

cmrabet - September 28, 2009 - 18:59
Status:active» closed

OK, thanks for your prompt response.

Disabling expand/collapse solved the slowness, but having a 120 nodes tree without that option is really a mess.

I'll close this one.

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.