basigek / simbrain

Automatically exported from code.google.com/p/simbrain
0 stars 0 forks source link

Restore toggling GUI updates for speed #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create any large network (~1000 neurons with ~100000 synapses) and run the 
network.

From a graphics perspective the network isn't running too slow considering its 
size. For demonstration purposes it's fine, however there used to be a feature 
where you could turn off GUI updates for speed. Being able to do this again 
would make using large networks much faster/easier to work with. It's 
definitely desirable for anyone dealing with large networks in Simbrain. 

Original issue reported on code.google.com by ZachT...@gmail.com on 30 Jun 2014 at 6:36

GoogleCodeExporter commented 9 years ago
Something like this can be done now by turning on the property tabs (View > 
Property Tabs) and unchecking "Gui On".  This corresponds to the field guiOn in 
WorkspaceComponent.java.    When it is turned off the component's parent frame  
is made invisible.   I tried doing this for a network with 1100 neurons  and 
1100^2 synapses, and it seemed to run a bit faster, but I did not gather any 
actual data.  It would be worth checking to what extent the GUI code is really 
bypassed in this case. 

 Also, I gather you'd like something like used to be there, where the network is still visible but the gui is just not updated.  But unechecking "Gui On" might be worth looking at, since (assuming it works correctly) it could provide a measure of the speed possible without any gui involvement.

Original comment by jeffyosh...@gmail.com on 30 Jun 2014 at 10:17

GoogleCodeExporter commented 9 years ago
Doing that seems to run significantly faster (probably at least 2x) on my 
machine. I'm glad that's already somewhat there. 

However, it is undeniably buried in a way that a lot of users (myself included) 
might miss, so at the very least we should put it directly into one of the 
menus. 

It would be nice to have the network just grayed out, but of course not 
necessary. It is a feature I miss, though. 

Original comment by ZachT...@gmail.com on 30 Jun 2014 at 10:51

GoogleCodeExporter commented 9 years ago

Original comment by ZachT...@gmail.com on 12 Jan 2015 at 5:31