Data laboratory context menu takes too much time to appear when a lot of nodes are selected

Bug #735721 reported by Eduardo Ramos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
Medium
Eduardo Ramos

Bug Description

When thousands of nodes are selected, data laboratory or graph view context menu takes too much time to be created and appear.

Revision history for this message
Eduardo Ramos (eduramiba) wrote :

This speed problem when creating the menu was a problem I already noticed last summer creating the data laboratory.

When the dialog is created each action has to check if it must be enabled, and I thought some actions like group took most of this time (checking all nodes have the same parent).

But now trying to fix this problem I noticed that a lot of actions still checked that every node is really contained in the graph (this was necessary before because data laboratory did not auto-refresh), and this is what was making the dialog creating process awfully slow.

So the fix is quite easy, and testing it with my laptop (I open Power Ggrid.gml, select all nodes and duplicate them 4 times, making 24705 nodes. Then I select them all in data lab / graph view):

With fix: almost instant
Without fix: I have not seen it finish ^^

Eduardo

Changed in gephi:
assignee: nobody → Eduardo Ramos (eduramiba)
importance: Undecided → Medium
Revision history for this message
Eduardo Ramos (eduramiba) wrote :

Fix commited in revision 2153

Changed in gephi:
status: New → Fix Committed
Changed in gephi:
milestone: none → 0.7beta
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.