at 1.28a EDT on 2004 March 08 Monday Miguel Howard said:

> > you are correct; pre6 is slower to load compared to pre5.  Miguel
> > changed the popupMenu so that it loads when the applet is first
> > instantiated, instead of when the menu is first clicked.  this was
to
> > remove an awkward 2-3 second delay between right-click and menu
> > appearance.
> 
> It is true that the popupMenu is loaded initially, but that should be
> running as a background task that does not add any time ... at least
> that is the theory.
> 
my mistake - sorry.


> 
> Tim, can you rerun a couple of timing tests with pre6 ... with vs.
> without the popup menu, in order to quantify what kind of impact this
> is having?
> 
Miguel, I will do this on monday.

> Separately, I have another theory. I changed the code in pre6 to
> explicitly force a garbage collection as soon as the model is loaded.
> This is because we are now consuming less memory, and I wanted to get
> confirmation.
> 
> This is probably the source of *some* of the delay.
> 
> Tim, if you are up to it, you can run another little test.
> JmolViewer.java lines 845 & 846 call System.gc() and
> System.finalize(). Comment out those lines and see what kinds of
> times you get.
> 
I'll do this on monday, too.


regards,

:tim

-- 
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to