at 7.47p EDT on 2004 March 07 Sunday Philip Bays said:

> Just to clarify.  It is not the applet loading that I am concerned 
> about.   If I load a molecule, the applet loads initially.   If I then 
> call for another molecule, the applet is already loaded and should not 
> reload via my javascript.   The only thing that should happen is a new 
> molecule appears in the applet.   That part is what seems to have 
> slowed down.
> 

my mistake again :-)  I did not test this particular operation.  I can
do it but not immediately; I don't have such a page set up yet.

regards,

:tim

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


> 
> On Mar 7, 2004, at 7:28 PM, Miguel Howard wrote:
> 
> >> 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.
> >
> >> to me, it is a fair trade off - but here are my numbers, so...
> >>
> >>
> >> pre6 to load 1d66.pdb:
> >>    1.72 sec (n=5)
> >>
> >> pre5 to load 1d66.pdb:
> >>    0.96 sec (n=5)
> >
> > 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?
> >
> > 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.
> >
> >
> > Thanks,
> > Miguel
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Jmol-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jmol-users
> >
> >
> J. Philip Bays
> Professor of Chemistry
> Science Hall 158
> Saint Mary's College
> Notre Dame  IN  46556
> (574) 284-4663
> 
> 
> 
> -------------------------------------------------------
> 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_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Jmol-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jmol-users


-------------------------------------------------------
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