JSmol/Rotation Speeds: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
Line 15: | Line 15: | ||
*Mac OS X (JSmol, no Java): | *Mac OS X (JSmol, no Java): | ||
**Firefox performs best. | **Firefox performs best. | ||
**Chrome: Both spinning and rotation by mouse are a little jerkier than in Firefox (less than two-fold difference). | **Chrome: Overall performance is good. Both spinning and rotation by mouse are a little jerkier than in Firefox (less than two-fold difference). | ||
**Safari: Spinning and rotation by mouse are a little smoother than Firefox for cartoon rendering. For spacefill rendering, spinning was jerkier than Firefox by about three-fold. | **Safari: Overall performance is good. Spinning and rotation by mouse are a little smoother than Firefox for cartoon rendering. For spacefill rendering, spinning was jerkier than Firefox by about three-fold. | ||
---- | ---- |
Revision as of 02:39, 28 March 2017
JSmol is the default form of Jmol used in Proteopedia and FirstGlance in Jmol. JSmol is used here to mean the HTML5/Javascript (non Java) application working within a web browser (see Jmol has four forms). The "JS" in JSmol refers to JavaScript. As mentioned in JSmol Notes, JSmol is substantially slower than the Jmol Java applet. With the exception of performance speed, both forms of Jmol have identical capabilities.
Performance of JSmol depends on the underlying performance of the javascript in the browser being used. With smaller macromolecules (under about 2,000 atoms) performance is generally good in all browsers except Internet Explorer. With larger macromolecules, the choice of browser becomes more important for optimal performance.
ConclusionsConclusions
Update March 2017 for JSmol:
- Windows (JSmol, no Java):
- Firefox performs best.
- Chrome: Rotation by mouse was as good as in Firefox. Spinning was jerkier than Firefox by about two-fold.
- Edge: NOT RECOMMENDED. Very sluggish. Spinning and rotation by mouse are very jerky.
- Internet Explorer: UNACCEPTABLE, extremely sluggish, with spining/rotation extremely slow and jerky.
- Mac OS X (JSmol, no Java):
- Firefox performs best.
- Chrome: Overall performance is good. Both spinning and rotation by mouse are a little jerkier than in Firefox (less than two-fold difference).
- Safari: Overall performance is good. Spinning and rotation by mouse are a little smoother than Firefox for cartoon rendering. For spacefill rendering, spinning was jerkier than Firefox by about three-fold.
Everything below is obsolete. It remains here only for historical reference.
In December, 2015:
Data (December, 2015)
|
Frames/Second in Cartoon, Spacefill JSmol without Java | ||||||||
---|---|---|---|---|---|---|---|---|
Operating System | Firefox | Safari | Chrome | Internet Explorer 11 | Edge | Opera | Maxthon | Torch* |
Windows 10 | 3.9, 4.3 | n/a | 1.05, 2.7 | 0.45, 0.45 | 1.1, 1.25 | 1.0, 2.4 | 1.5, 2.5 | 1.6, 3.0 |
Mac OS 10.10.5 | 4.2, 4.1 | 4.0, 3.3 | 1.05, 2.95 | n/a | n/a | (failed) | 4.2, 3.5 | n/a |
"n/a": not available.
* Despite a high review, Torch seems a rather iffy browser. It is accused of hijacking and does not identify itself in navigator.userAgent.
Jmol (Java applet)Jmol (Java applet)
Because Java is so much faster than Javascript, the spinning was further slowed by clicking the "Zoom Larger" button in FirstGlance twice.
(Torch does operate Java in Dec. 2015.)
Frames/Second in Cartoon
JSmol without Java - Jmol Java appletOperating System Firefox Safari Chrome Internet Explorer 11 Edge Opera Maxthon Windows 10 3.2, 4.7 n/a No Java 0.3, ~7 no Java n/d 0.2, Mac OS 10.10.5 3.3, 6 3.0, ~7 no Java n/a n/a (failed) No Java
"n/a": not available. "n/d": not determined.