Welcome, Guest. Please Login.
Gravity Simulator
11/18/17 at 17:13:34
News: Registration for new users has been disabled to discourage spam. If you would like to join the forum please send me an email with your desired screen name to tony at gravitysimulator dot com.
Home Help Search Login


Pages: 1
Send Topic Print
How fast is the browser version? (Read 4497 times)
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
How fast is the browser version?
10/21/15 at 22:36:43
 
According to NASA's eclipse page, there will be a total solar eclipse of the Sun on August 12, 2045. It will be total in Redding, CA at 16:17. To demonstrate the speed of Gravity Simulator, this simulation is started using JPL's solar system data for July, 2015. Depending on the speed of your computer, it should take about 5 seconds to propagate all the solar system's planets and Earth's moon from 2015 to 2045 and accurately reproduce this eclipse as viewed from Redding. Press "P" to begin the simulation.
 
http://orbitsimulator.com/gravitySimulatorCloud/simulations/1445485644214_Propog ate_to_2045.html
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: How fast is the browser version?
Reply #1 - 10/23/15 at 08:12:10
 
On my PC I get about 1 year every 2 seconds without changing any settings of the html.
Back to top
 
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: How fast is the browser version?
Reply #2 - 10/23/15 at 11:43:58
 
That's about the speed I get on my old Windows 7 computer.  It takes about 1 minute to run this sim.  But on my Windows 10 machine and a newer Mac, the sim runs in about 5 seconds.
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: How fast is the browser version?
Reply #3 - 10/23/15 at 23:32:12
 
Seems to match . I'm still running on Windows 7 .  
Could the internet explorer also have an influence ? ( I'm  running EE10 )
Back to top
 
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: How fast is the browser version?
Reply #4 - 10/24/15 at 00:02:53
 
My 12-year old Windows XP computer runs it slightly faster than my 6-year old Windows 7 laptop.  It just seems that computers have gotten a LOT faster over the last 2-3 years.  Even the latest smartphones and tablets run this sim in about 5 seconds.
 
Running the Windows version of Gravity Simulator, my new Windows 10 computer is about 4x faster than XP or 7.  But the browser version of Gravity Simulator runs about 25x faster on newer computers than on XP or 7.
 
Get a new computer, Frank!  You'll love it. They're just faster all around.
Windows 10 takes about 20 seconds to boot up.  Windows XP and 7 take several minutes.
 
The browser version looks horrible in IE.  IE does not support a lot of the javascript and HTML5 that more modern browsers such as Firefox and Safari do.  Windows 10 comes with Microsoft Edge, which is much more up to date than IE, and is comparable to Firefox and Safari when running all the latest javascript and HTML5 features.
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: How fast is the browser version?
Reply #5 - 10/24/15 at 09:37:59
 
Wait a moment Tony ...
Do I understand it correctly that the .html version of Gravity simulator runs faster than the executable under Windows 10 , and also under Windows 7?  
Or is the speed dependent of the "explorer " you use ?  
Back to top
 
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: How fast is the browser version?
Reply #6 - 10/24/15 at 13:52:47
 
As I was running some test to answer your questions, I noticed something I've never seen before.  The executable version runs MUCH faster if you open a file by clicking on a link from my web page, rather than by opening a file saved on your computer.
 
For example, click this link:  http://orbitsimulator.com/gravity/simulations/2045f.gsim
Notice the speed, then try saving it, and re-opening it from your computer.  On both my Windows XP and Windows 10 machines, the one opened from the web page works faster, and is comparable in speed to the html version of the program: http://orbitsimulator.com/gravitySimulatorCloud/simulations/1445717816562_speedT est.html
 
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: How fast is the browser version?
Reply #7 - 10/24/15 at 14:48:47
 
interesting facts  ...
 
I somehow get other performances :  
1. the gsim file opened from  the link directly and the gsim file saved first and then ran have very good speed , about 10 seconds to perform . I see no difference here.  
2. The html version is remarkable slower on my Windows 7 , IE 10 setting . Takes about 2 seconds per year .  
 
So , the good old GSim files still performs much better on my machine .  
It's amazing you yet other performances.  
I think the explorer makes the difference . What explorer do you use ?    
( I'm still very happy having an Acer machine having 8 cores , running under Windows 7 ) .  
Don't know about the Internet explorer .  
 
It would be interesting to gather some data about speed from other users and list them , I guess.
Back to top
 
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: How fast is the browser version?
Reply #8 - 10/24/15 at 15:09:45
 
Quote from frankuitaalst on 10/24/15 at 14:48:47:


I think the explorer makes the difference . What explorer do you use ?

I guess I don't know what an "explorer" is.  I thought you meant browser.  Do you mean processor?  My Windows 10 has an  i5-4570 with 4 cores.
 
On my Windows XP computer, I get about 10 seconds, just like you, assuming I run it from the link.  If I save it and run it from my hard drive, it takes about 2 minutes.
 
On my Windows 10 computer, the executable from the link takes 2 seconds, and from a saved file takes about 20 seconds.  The HTML version takes about 3 seconds.  A Mac an iPad and a new smartphone also take about 3 seconds.
Back to top
 
 
Email View Profile WWW   IP Logged
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: How fast is the browser version?
Reply #9 - 10/25/15 at 02:00:15
 
Indeed , I meant Browser when I said Explorer , just as people say Bic when they want a pen....
I've just run the htm version on my Ipad , using Safari .  
It takes 1 second for one year .
Back to top
 
 
Email View Profile   IP Logged
Tony
YaBB Administrator
*****




Posts: 1051
Gender: male
Re: How fast is the browser version?
Reply #10 - 10/25/15 at 08:37:22
 
My older iPad had that performance.  But last month we were issued new iPads at work.  The new one is just as fast as my Windows 10 computer.
Here's a Youtube showing a speed comparison between the executable and the Windows 10.  This is before I discovered that my Windows 10 computer runs the simulation very slowly if I run it from my hard drive.  But it still shows you a speed of about 10 years / second for the HTML version.
https://www.youtube.com/watch?v=F9Dof7EzSvo
Back to top
 
 
Email View Profile WWW   IP Logged
Pages: 1
Send Topic Print