Hi,

Am 16.08.2010 um 17:48 schrieb Philip Bays:

> This seems to be another example of Mac Firefox (and I suspect Camino and 
> SeaMonkey) behaving differently.  I would be interested in the results of the 
> following three experiments:
> 
> 1. What happens if you use the signed rather than the unsigned applet?
> 

still slow: http://weirdbyte.de/jmol-test/html/slow_callbacks_signed.html

> 2. What happens if you remove the javaembedding plugin files 
> (Firefox>contents>MacOS>Plugins)?  There are two: JavaEmbeddingPlugin and 
> MRJplugin.  Don't throw them away, since once removed manipulating the 
> structure in the applet will be disabled.   But does it affect the callback 
> speed. 
> 

both removed: fast, but callbacks seem to be ignored, no messages
JavaEmbeddingPlugin removed: Error _jmolSetCodebase is not defined
MRJplugin removed: 1st load opens a program called Java Applet Host, fast, but 
callbacks seem to be ignored, 2nd & subsequent loads (with Java Applet Host 
program open), fast callbacks with messages


> 3. What happens if you use Firefox 4.0b3 to open the page?  
> 

first, there is a warning the browser would not be fully compatible with jmol, 
but nevermind, because...
... the slow callbacks are gone :-)

Alex

> 
> Phil Bays
> 
> 
> 
> On Aug 16, 2010, at 9:50 AM, Alexander Rose wrote:
> 
>> Hi,
>> 
>> does someone else experience painfully slow callbacks in firefox on mac osx?
>> 
>> http://weirdbyte.de/jmol-test/html/slow_callbacks.html
>> 
>> I did some measurements. The numbers do very, but there is always a huge 
>> difference between callbacks registered and not.
>> 
>> Best
>> Alexander
>> 
>> 
>> The numbers:
>> 
>> * Firefox 2.6.8 on Mac OSX 10.6.4:
>> 
>> === NO CALLBACKS REGISTERED ===
>> START load pdb: 3:10:09.660
>> END load pdb: 3:10:10.155
>> DURATION [495 ms]load pdb
>> START load append pdb: 3:10:10.158
>> END load append pdb: 3:10:10.510
>> DURATION [352 ms]load append pdb
>> 
>> === CALLBACKS REGISTERED ===
>> START load pdb: 3:10:10.652
>> jmol_anim_frame_callback: jmolApplet0 
>> http://weirdbyte.de/jmol-test/data/1u19.pdb 1u19.pdb 1U19 null 3 1.1
>> jmol_load_struct_callback: 3:10:19.638
>> jmol_anim_frame_callback: jmolApplet0 0 1 1 1000001 1000001 0 1 1
>> jmol_anim_frame_callback: 3:10:19.705
>> jmol_anim_frame_callback: jmolApplet0 0 0 0 0 0 0 1 1
>> jmol_anim_frame_callback: 3:10:19.763
>> jmol_anim_frame_callback: jmolApplet0 0 1 1 1000001 2000001 0 1 1
>> jmol_anim_frame_callback: 3:10:19.821
>> END load pdb: 3:10:19.857
>> DURATION [9205 ms]load pdb
>> START load append pdb: 3:10:19.862
>> jmol_anim_frame_callback: jmolApplet0 1 2 1 1000001 2000001 0 1 1
>> jmol_anim_frame_callback: 3:10:24.416
>> jmol_anim_frame_callback: jmolApplet0 
>> http://weirdbyte.de/jmol-test/data/1u19.pdb 1u19.pdb 1U19 (modified) null 3 
>> 1.1
>> jmol_load_struct_callback: 3:10:24.420
>> END load append pdb: 3:10:24.423
>> DURATION [4561 ms]load append pdb
>> 
>> 
>> 
>> * Safari 5.0.1 on Mac OSX 10.6.4:
>> 
>> === NO CALLBACKS REGISTERED ===
>> START load pdb:  3:45:35.845
>> END load pdb:  3:45:36.496
>> DURATION [651 ms]load pdb
>> START load append pdb:  3:45:36.497
>> END load append pdb:  3:45:36.734
>> DURATION [237 ms]load append pdb
>> 
>> === CALLBACKS REGISTERED ===
>> START load pdb:  3:45:36.782
>> jmol_anim_frame_callback:  jmolApplet0 0 1 1 1000001 2000001 0 1 1
>> jmol_anim_frame_callback:  3:45:36.801
>> jmol_anim_frame_callback:  jmolApplet0 0 0 0 0 0 0 1 1
>> jmol_anim_frame_callback:  3:45:36.935
>> jmol_anim_frame_callback:  jmolApplet0 0 1 1 1000001 1000001 0 1 1
>> jmol_anim_frame_callback:  3:45:36.989
>> jmol_anim_frame_callback:  jmolApplet0 
>> http://weirdbyte.de/jmol-test/data/1u19.pdb 1u19.pdb 1U19 3 1.1 1.1
>> jmol_load_struct_callback:  3:45:37.000
>> END load pdb:  3:45:37.161
>> DURATION [379 ms]load pdb
>> START load append pdb:  3:45:37.161
>> jmol_anim_frame_callback:  jmolApplet0 
>> http://weirdbyte.de/jmol-test/data/1u19.pdb 1u19.pdb 1U19 (modified) 3 1.1 
>> 2.1
>> jmol_load_struct_callback:  3:45:37.230
>> jmol_anim_frame_callback:  jmolApplet0 1 2 1 1000001 2000001 0 1 1
>> jmol_anim_frame_callback:  3:45:37.360
>> END load append pdb:  3:45:37.408
>> DURATION [247 ms]load append pdb
>> jmol_anim_frame_callback:  jmolApplet0 0 1 1 1000001 2000001 0 1 1
>> jmol_anim_frame_callback:  3:45:37.430
>> jmol_anim_frame_callback:  jmolApplet0 -1 0 0 1000001 2000001 0 1 1
>> jmol_anim_frame_callback:  3:45:37.437
>> 
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by 
>> 
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev 
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> J. Philip Bays
> Professor of Chemistry
> Department of Chemistry and Physics
> Saint Mary's College
> Notre Dame, IN 46556
> (574) 284-4663
> pb...@saintmarys.edu
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to