JSmol/Rotation Speeds: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
 
(20 intermediate revisions by the same user not shown)
Line 4: Line 4:


Browser javascript performance varies as new browser versions are released. Below are rotation speed results obtained at various times.
Browser javascript performance varies as new browser versions are released. Below are rotation speed results obtained at various times.
<br>See also [https://en.wikipedia.org/wiki/Usage_share_of_web_browsers Browser popularity worldwide].


==Conclusions==
==Conclusions==
===Update April, 2021===
Versions current in April, 2021, of the '''Chrome, Edge, Firefox and Opera''' web browsers all seem equally good for JSmol. '''Safari''' is acceptable, but rotation of solid (spacefilled) renderings is substantially slower/choppier than the others, especially at high zoom levels.
===Update January 2019===
===Update January 2019===
Differences from July, 2017:
Differences from July, 2017:
*Chrome is now faster than Firefox; slightly faster on Mac but 2-fold faster on Windows.
*Chrome is now faster than Firefox; slightly faster on Mac but 2-fold faster on Windows.
*Opera now performs nearly as well as Chrome (in both Windows and macOS).
*Safari is now 5X slower than Chrome for spacefilled rendering. This is true in OS 10.10 and 10.14.
*Safari is now 5X slower than Chrome for spacefilled rendering. This is true in OS 10.10 and 10.14.
As before:
As before:
*Waterfox is comparable to Firefox for JSmol, and very fast with Java.
*Edge is about 5X slower than Chrome.
*Edge is about 5X slower than Chrome.
*Internet Explorer is 10X to 30X slower than Chrome.
*Internet Explorer is 10X to 30X slower than Chrome.
Line 17: Line 23:
{| class="wikitable" style="margin: 1em auto 1em auto;"
{| class="wikitable" style="margin: 1em auto 1em auto;"
|-
|-
! colspan="6" | Frames/Second for spinning in cartoon, <u>spacefill</u>.
! colspan="8" | Frames/Second for spinning in cartoon, <u>spacefill</u>.
|-
|-
! Operating System
! Operating System
Line 24: Line 30:
! Firefox
! Firefox
! Internet Explorer 11
! Internet Explorer 11
! Opera
! Safari
! Safari
! Waterfox
|-
|-
| Windows 10
| Windows 10
Line 31: Line 39:
| <font color="magenta">1.5</font>, <u>3.4</u>
| <font color="magenta">1.5</font>, <u>3.4</u>
| <font color="red">0.35, <u>0.1</u></font>
| <font color="red">0.35, <u>0.1</u></font>
| 2.5, <u>4.2</u>
| n/a
| n/a
| n/d
|-
|-
| Mac OS 10.14 or 10.10
| Mac OS 10.14 or 10.10
Line 38: Line 48:
| 2.3, <u>4.0</u>
| 2.3, <u>4.0</u>
| n/a
| n/a
| 3.5, <u>3.7</u>
| 3.8, <font color="red"><u>0.7</u></font>
| 3.8, <font color="red"><u>0.7</u></font>
| 2.3, <u>~5.0</u><br><font color="#00a000">~7.0*, <u>~7.0*</u></font>
|}
|}
"n/a": not available.
"n/a": not available. "n/d": not determined.
<br>JSmol without Java. Data for December 30, 2018.
<br>JSmol without Java. Data for December 30, 2018. <font color="red">Bad performance.</font> <font color="magenta">Poor performance.</font>
<br>Methods same as March, 2017, except zoom for spacefill was 260%.
<br><font color="#00a000">* Running Jmol in Java, not JSmol. Tested only in OS 10.14.</font> [[Installing and enabling Java]].
<br>Methods same as [[#March 27, 2017|March, 2017]], except zoom for spacefill was 260%.
<br>Rendering quality was low (antialiasdisplay false).
</center>
</center>


====FirstGlance in Jmol====
Previously, this section reported that [[FirstGlance in Jmol]] version 2.74 (and several earlier versions) was very slow to load and display large RNA structures. This was due to a bug in FirstGlance that was fixed in [https://oca.weizmann.ac.il/oca-docs/fgij/versions.htm version 2.8 released May 29, 2019].


----
==July, 2017==
<span style="font-size:130%;">'''July 2017''' for JSmol:</span> (Differences from March, 2017: none. From May, 2016: minor.)
Differences from March, 2017: none. From May, 2016: minor.


*Windows (JSmol, no Java):
*Windows (JSmol, no Java):
Line 59: Line 75:
**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.
**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.


==Data (March 27, 2017)==
==March 27, 2017==
===JSmol (Javascript)===
===JSmol (Javascript)===
All browsers were updated to the versions current at the time of testing (March, 2017). Tests below were done in [[FirstGlance in Jmol]] in the default HTML5/javascript mode. In order to slow down rotation to enable manual counting of frames/second, a large molecule was used: [[1g3i]], a single model with 45,528 atoms (which puts it in the largest ~2% of entries in the [[PDB]]). Tests were done in a browser window approximately 1,900 x 1000 pixels on a late 2014 MacBook Pro (2.2 GHz Intel Core i7 with 1600 MHz DDR3 RAM).  Windows 10 was a virtual machine (VMware) on the Mac, running at native speed on the Mac's Intel processor. For spinning, frames/second were determined at zoom 170%. For rotation by mouse, frames/second were determined at zoom 100%, cartoon rendering.
All browsers were updated to the versions current at the time of testing (March, 2017). Tests below were done in [[FirstGlance in Jmol]] in the default HTML5/javascript mode. In order to slow down rotation to enable manual counting of frames/second, a large molecule was used: [[1g3i]], a single model with 45,528 atoms (which puts it in the largest ~2% of entries in the [[PDB]]). Tests were done in a browser window approximately 1,900 x 1000 pixels on a late 2014 MacBook Pro (2.2 GHz Intel Core i7 with 1600 MHz DDR3 RAM).  Windows 10 was a virtual machine (VMware) on the Mac, running at native speed on the Mac's Intel processor. For spinning, frames/second were determined at zoom 170%. For rotation by mouse, frames/second were determined at zoom 100%, cartoon rendering.
Line 94: Line 110:


<table border="0" style="background-color:#d0d0d0;"><tr><td>
<table border="0" style="background-color:#d0d0d0;"><tr><td>
==Older Results==
==Older Results==


Line 195: Line 212:
*[[Jmol]]
*[[Jmol]]
*[[User:Eric Martz/JSmol Notes]]
*[[User:Eric Martz/JSmol Notes]]
* [https://blokt.com/guides/best-secure-browsers-for-private-browsing The Best Secure Browsers for Private Browsing in 2019]: Chrome gathers as much information about you as it can to send back to Google for marketing purposes. Firefox is not the product of a for-profit corporation, and does not gather such information. This article tells how to maximize your privacy while using Firefox.

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz